aboutsummaryrefslogtreecommitdiff
path: root/include/capture/xcomposite.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-26 20:57:57 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-26 20:58:00 +0200
commit112640282d236587dff0fd09e5137bfbc4cfec06 (patch)
tree6eebc9f62bcfb0738d2967b76d2ccd1e42d5b6af /include/capture/xcomposite.h
parent5ffa725367244bf24121a50e60831a9ed0283288 (diff)
Add option to change output resolution (-s)
Diffstat (limited to 'include/capture/xcomposite.h')
-rw-r--r--include/capture/xcomposite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/capture/xcomposite.h b/include/capture/xcomposite.h
index 8c87404..45eb481 100644
--- a/include/capture/xcomposite.h
+++ b/include/capture/xcomposite.h
@@ -8,10 +8,10 @@ typedef struct {
gsr_egl *egl;
unsigned long window;
bool follow_focused; /* If this is set then |window| is ignored */
- vec2i region_size; /* This is currently only used with |follow_focused| */
gsr_color_range color_range;
bool record_cursor;
gsr_color_depth color_depth;
+ vec2i output_resolution;
} gsr_capture_xcomposite_params;
gsr_capture* gsr_capture_xcomposite_create(const gsr_capture_xcomposite_params *params);