diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-12-01 00:47:30 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-12-20 15:32:42 +0100 |
commit | 4e6fc174fe02d3ddb0d3dfe5894a31502df9b1ed (patch) | |
tree | 033dca81f26edf5f662406b902ca6fe6e2fd4f5e /include/capture | |
parent | 6a6bb703bce2d844175950ede4bda5d06dc5a8ae (diff) |
follow focused
Diffstat (limited to 'include/capture')
-rw-r--r-- | include/capture/xcomposite_cuda.h | 2 | ||||
-rw-r--r-- | include/capture/xcomposite_drm.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/capture/xcomposite_cuda.h b/include/capture/xcomposite_cuda.h index 36b1780..d9b4b10 100644 --- a/include/capture/xcomposite_cuda.h +++ b/include/capture/xcomposite_cuda.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_cuda_params; gsr_capture* gsr_capture_xcomposite_cuda_create(const gsr_capture_xcomposite_cuda_params *params); 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); |