aboutsummaryrefslogtreecommitdiff
path: root/include/capture/xcomposite_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/capture/xcomposite_drm.h')
-rw-r--r--include/capture/xcomposite_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/capture/xcomposite_drm.h b/include/capture/xcomposite_drm.h
index f814f7a..40a8971 100644
--- a/include/capture/xcomposite_drm.h
+++ b/include/capture/xcomposite_drm.h
@@ -9,6 +9,8 @@ typedef struct _XDisplay Display;
typedef struct {
Window window;
+ bool follow_focused; /* If this is set then |window| is ignored */
+ vec2i region_size; /* This is currently only used with |follow_focused| */
} gsr_capture_xcomposite_drm_params;
gsr_capture* gsr_capture_xcomposite_drm_create(const gsr_capture_xcomposite_drm_params *params);