aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-19 19:07:29 +0100
committeremersion <contact@emersion.fr>2018-06-30 22:17:59 +0100
commit73755ad348657fdf8d9e0f9a48ee13a2ab947e35 (patch)
tree92eea1b7076e38a38792b7ff222bd9a51975c823 /rootston
parent02dfa9101ec7fd8328ed329d2f2faa815b1ad61c (diff)
screencopy-v1: add basic implementation
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;
}