From 7890bfc024d0390c603230ef895006d93ee2858e Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Tue, 3 Feb 2026 11:44:47 +0100 Subject: [PATCH] add support for the data control protocol Enables the protocol documented at https://wayland.app/protocols/ext-data-control-v1 It is the upstreamed version of the old wlr_data_control. It is used e.g. by mpv to read and write the clipboard. --- dwl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dwl.c b/dwl.c index 44f3ad9..320910d 100644 --- a/dwl.c +++ b/dwl.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -2518,6 +2519,7 @@ setup(void) wlr_export_dmabuf_manager_v1_create(dpy); wlr_screencopy_manager_v1_create(dpy); wlr_data_control_manager_v1_create(dpy); + wlr_ext_data_control_manager_v1_create(dpy, 1); wlr_primary_selection_v1_device_manager_create(dpy); wlr_viewporter_create(dpy); wlr_single_pixel_buffer_manager_v1_create(dpy);