aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-02-19 08:59:20 -0500
committerGitHub <noreply@github.com>2019-02-19 08:59:20 -0500
commitea28887a23600d1155cb2b7ac0412a841244d9e5 (patch)
treec1b8afb47bc88d39369fbadcc664f956105d5d49 /rootston/desktop.c
parentfc9838b15e8d4f0d5a80749902b1d190978caf9f (diff)
parent8163f7e1e21d9b039319cc3e38993811bfbeea4f (diff)
Merge pull request #1493 from emersion/primary-selection-v1
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 a38f4045..6f76b97e 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>
@@ -1110,6 +1111,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;