diff options
| author | Guido Cella <guido@guidocella.xyz> | 2026-02-03 10:44:47 +0000 |
|---|---|---|
| committer | thanatos <thanatos@noreply.codeberg.org> | 2026-02-12 00:47:40 +0000 |
| commit | ca4123072d63ff52351f3a6bd64ae4a3e7a9888f (patch) | |
| tree | 2297ec7e7e773801689c7580d7abacbcb46f111c | |
| parent | a8915224e8159e6e0b6ff0fe7b2c6436fb3a1b6d (diff) | |
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.
| -rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,6 +24,7 @@ #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_data_control_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> @@ -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); |
