Replaced the deprecated wlr-data-control-untstable-v1 with the standard ext-data-control

This commit is contained in:
Keith Bowes 2026-01-02 21:36:40 -05:00
parent b0cd86a99e
commit c75ac6d731
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ endif
libevdev = dependency('libevdev')
libinput = dependency('libinput', version: '>=1.21.0', required: false)
libxml2 = dependency('libxml-2.0')
wayland_protos = dependency('wayland-protocols', version: '>=1.37')
wayland_protos = dependency('wayland-protocols', version: '>=1.39')
wayland_server = dependency('wayland-server', version: '>=1.15')
wlroots = dependency(wlroots_version, version: '>=0.17.0')
xkbcommon = dependency('xkbcommon')

View file

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