aboutsummaryrefslogtreecommitdiffhomepage
path: root/dwl.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2025-01-14 12:34:20 -0600
committerA Frederick Christensen <fauxmight@noreply.codeberg.org>2025-08-04 23:08:53 +0200
commitb28674e0ca4a9ecc92cb0607498e3db2df3d4c00 (patch)
tree5c05ebbfc97f39f56a028f69355164dc21cb7d67 /dwl.c
parent15bfffd87a6f9da0bc551db95c7c2a9a069b3708 (diff)
add support for ext-image-copy-capture-v1 and ext-image-capture-source-v1 (wlroots!4545)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4545
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 12f441e..1dad6ac 100644
--- a/dwl.c
+++ b/dwl.c
@@ -24,6 +24,8 @@
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_drm.h>
#include <wlr/types/wlr_export_dmabuf_v1.h>
+#include <wlr/types/wlr_ext_image_capture_source_v1.h>
+#include <wlr/types/wlr_ext_image_copy_capture_v1.h>
#include <wlr/types/wlr_fractional_scale_v1.h>
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
@@ -2516,6 +2518,8 @@ setup(void)
wlr_data_device_manager_create(dpy);
wlr_export_dmabuf_manager_v1_create(dpy);
wlr_screencopy_manager_v1_create(dpy);
+ wlr_ext_image_copy_capture_manager_v1_create(dpy, 1);
+ wlr_ext_output_image_capture_source_manager_v1_create(dpy, 1);
wlr_data_control_manager_v1_create(dpy);
wlr_primary_selection_v1_device_manager_create(dpy);
wlr_viewporter_create(dpy);