diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-23 14:02:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-23 14:02:39 -0500 |
commit | e8a35a84ba2118936e6a4b5dbcd7872d320216e4 (patch) | |
tree | ee9b14fedffed2871b5317220bde365d69d98b01 /rootston | |
parent | 0a370c529806077a11638e7fa856d5fbb539496b (diff) | |
parent | d4d860666cc2dd10a105fadd33aad2f682139a6e (diff) | |
download | wlroots-e8a35a84ba2118936e6a4b5dbcd7872d320216e4.tar.xz |
Merge pull request #509 from emersion/primary-selection
Add gtk-primary-selection protocol
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/desktop.c | 3 |
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; } |