aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-30 15:27:45 -0700
committerGitHub <noreply@github.com>2018-06-30 15:27:45 -0700
commit015ebc5750c4224d4796bba0e6deeb20c8d8a777 (patch)
tree2897ecafe78c4ca7686f63a68392aed70db40e70 /rootston
parent02dfa9101ec7fd8328ed329d2f2faa815b1ad61c (diff)
parentcc9b198f9e4e00e59773e78ab8afe1c4c0fd1ee1 (diff)
Merge pull request #1069 from emersion/screencopy
Add wlr-screencopy-unstable-v1 support
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 2bba06e2..d670c33b 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -875,6 +875,9 @@ struct roots_desktop *desktop_create(struct roots_server *server,
wl_signal_add(&desktop->virtual_keyboard->events.new_virtual_keyboard,
&desktop->virtual_keyboard_new);
desktop->virtual_keyboard_new.notify = handle_virtual_keyboard;
+
+ desktop->screencopy = wlr_screencopy_manager_v1_create(server->wl_display);
+
return desktop;
}