aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-24 12:04:41 +0100
committeremersion <contact@emersion.fr>2019-02-13 19:28:25 +0100
commit8163f7e1e21d9b039319cc3e38993811bfbeea4f (patch)
tree35fb341f1d5d213ad290f69341ff9abd7c7ba4be /rootston/desktop.c
parent5c8d2da0a1cd3839663d070532ba45bd61d374ca (diff)
primary-selection-v1: copy from gtk-primary-selection
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index fcb530cf..ff9544d5 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -18,6 +18,7 @@
#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_pointer_constraints_v1.h>
+#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_server_decoration.h>
#include <wlr/types/wlr_tablet_v2.h>
#include <wlr/types/wlr_wl_shell.h>
@@ -1087,6 +1088,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
desktop->pointer_gestures =
wlr_pointer_gestures_v1_create(server->wl_display);
+ wlr_primary_selection_v1_device_manager_create(server->wl_display);
wlr_data_control_manager_v1_create(server->wl_display);
return desktop;