wlr-data-control (for clipboard managers)

This commit is contained in:
Keith Bowes 2024-04-21 14:33:17 -04:00
parent 3a64d3955c
commit 35b3e5af11

View file

@ -1,3 +1,4 @@
#include <wlr/types/wlr_data_control_v1.h>
#include <wlr/types/wlr_fractional_scale_v1.h> #include <wlr/types/wlr_fractional_scale_v1.h>
#include "idle.h" #include "idle.h"
@ -102,6 +103,7 @@ bool wb_start_server(struct wb_server* server) {
wlr_log(WLR_INFO, "%s: WAYLAND_DISPLAY=%s", _("Running Wayland compositor on Wayland display"), socket); wlr_log(WLR_INFO, "%s: WAYLAND_DISPLAY=%s", _("Running Wayland compositor on Wayland display"), socket);
setenv("WAYLAND_DISPLAY", socket, true); setenv("WAYLAND_DISPLAY", socket, true);
wlr_data_control_manager_v1_create(server->wl_display);
wlr_data_device_manager_create(server->wl_display); wlr_data_device_manager_create(server->wl_display);
server->gamma_control_manager = server->gamma_control_manager =