screencopy-v1: add basic implementation

This commit is contained in:
emersion 2018-06-19 19:07:29 +01:00
parent 02dfa9101e
commit 73755ad348
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
9 changed files with 655 additions and 1 deletions

View file

@ -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;
}