mirror of
https://github.com/wizbright/waybox.git
synced 2026-02-05 04:06:24 -05:00
Replaced the deprecated wlr-data-control-untstable-v1 with the standard ext-data-control
This commit is contained in:
parent
b0cd86a99e
commit
c75ac6d731
2 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ endif
|
||||||
libevdev = dependency('libevdev')
|
libevdev = dependency('libevdev')
|
||||||
libinput = dependency('libinput', version: '>=1.21.0', required: false)
|
libinput = dependency('libinput', version: '>=1.21.0', required: false)
|
||||||
libxml2 = dependency('libxml-2.0')
|
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')
|
wayland_server = dependency('wayland-server', version: '>=1.15')
|
||||||
wlroots = dependency(wlroots_version, version: '>=0.17.0')
|
wlroots = dependency(wlroots_version, version: '>=0.17.0')
|
||||||
xkbcommon = dependency('xkbcommon')
|
xkbcommon = dependency('xkbcommon')
|
||||||
|
|
|
||||||
|
|
@ -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_fractional_scale_v1.h>
|
||||||
#include <wlr/types/wlr_viewporter.h>
|
#include <wlr/types/wlr_viewporter.h>
|
||||||
#include <wlr/types/wlr_xdg_toplevel_icon_v1.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);
|
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_ext_data_control_manager_v1_create(server->wl_display, 1);
|
||||||
wlr_data_device_manager_create(server->wl_display);
|
wlr_data_device_manager_create(server->wl_display);
|
||||||
|
|
||||||
server->foreign_toplevel_list =
|
server->foreign_toplevel_list =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue