diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-09 16:59:09 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-09 16:59:09 +0100 |
commit | a3fedae32937f8965c9905e12633fa4de0c3658e (patch) | |
tree | a8596397292e6fc674f8fe3c8f09f17b63b0d646 /include/capture/xcomposite.h | |
parent | 5e05bbbbcbd45298c48af2b56a33da93d15b8f44 (diff) |
Draw cursor in window capture
Diffstat (limited to 'include/capture/xcomposite.h')
-rw-r--r-- | include/capture/xcomposite.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/capture/xcomposite.h b/include/capture/xcomposite.h index 222ff5b..2a9f3f7 100644 --- a/include/capture/xcomposite.h +++ b/include/capture/xcomposite.h @@ -6,6 +6,7 @@ #include "../vec2.h" #include "../color_conversion.h" #include "../window_texture.h" +#include "../cursor.h" typedef struct { gsr_egl *egl; @@ -33,6 +34,9 @@ typedef struct { WindowTexture window_texture; Atom net_active_window_atom; + + gsr_cursor cursor; + bool clear_next_frame; } gsr_capture_xcomposite; void gsr_capture_xcomposite_init(gsr_capture_xcomposite *self, const gsr_capture_xcomposite_params *params); |