diff options
author | emersion <contact@emersion.fr> | 2019-01-07 18:39:33 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-07 17:01:53 -0500 |
commit | 327236a7ab5beacd925d8e9a16b3f11badb99abf (patch) | |
tree | 2fccdee2178aabe5b88f291e385e1bd97af4bc48 | |
parent | seat: unhide the cursor if it is warped to focus (diff) | |
download | sway-327236a7ab5beacd925d8e9a16b3f11badb99abf.tar.gz sway-327236a7ab5beacd925d8e9a16b3f11badb99abf.tar.zst sway-327236a7ab5beacd925d8e9a16b3f11badb99abf.zip |
Add data-control-v1
-rw-r--r-- | sway/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index b1d7d3fc..13264a2c 100644 --- a/sway/server.c +++ b/sway/server.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <wlr/backend/session.h> | 7 | #include <wlr/backend/session.h> |
8 | #include <wlr/render/wlr_renderer.h> | 8 | #include <wlr/render/wlr_renderer.h> |
9 | #include <wlr/types/wlr_compositor.h> | 9 | #include <wlr/types/wlr_compositor.h> |
10 | #include <wlr/types/wlr_data_control_v1.h> | ||
10 | #include <wlr/types/wlr_export_dmabuf_v1.h> | 11 | #include <wlr/types/wlr_export_dmabuf_v1.h> |
11 | #include <wlr/types/wlr_gamma_control_v1.h> | 12 | #include <wlr/types/wlr_gamma_control_v1.h> |
12 | #include <wlr/types/wlr_gamma_control.h> | 13 | #include <wlr/types/wlr_gamma_control.h> |
@@ -140,6 +141,7 @@ bool server_init(struct sway_server *server) { | |||
140 | 141 | ||
141 | wlr_export_dmabuf_manager_v1_create(server->wl_display); | 142 | wlr_export_dmabuf_manager_v1_create(server->wl_display); |
142 | wlr_screencopy_manager_v1_create(server->wl_display); | 143 | wlr_screencopy_manager_v1_create(server->wl_display); |
144 | wlr_data_control_manager_v1_create(server->wl_display); | ||
143 | 145 | ||
144 | server->socket = wl_display_add_socket_auto(server->wl_display); | 146 | server->socket = wl_display_add_socket_auto(server->wl_display); |
145 | if (!server->socket) { | 147 | if (!server->socket) { |