aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-22 22:22:29 +0100
committeremersion <contact@emersion.fr>2017-12-22 22:22:29 +0100
commita95d09d56181fe9bd639239b723942c5a333a245 (patch)
tree49ec4e6bd7bddb5012af2ca8750bdcd31a22d30b /rootston
parent0a171d3acec825b5a9115907b339dc29aec678fa (diff)
Add missing gtk-primary-selection interfaces
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index c9fc0dc6..1431dc5d 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -7,6 +7,7 @@
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_cursor.h>
#include <wlr/types/wlr_gamma_control.h>
+#include <wlr/types/wlr_primary_selection.h>
#include <wlr/types/wlr_server_decoration.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_wl_shell.h>
@@ -470,6 +471,8 @@ struct roots_desktop *desktop_create(struct roots_server *server,
wlr_server_decoration_manager_set_default_mode(
desktop->server_decoration_manager,
WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT);
+ desktop->primary_selection_device_manager =
+ wlr_primary_selection_device_manager_create(server->wl_display);
return desktop;
}