Fix rootston keyboard, add Xwayland

This commit is contained in:
Drew DeVault 2017-09-28 08:54:57 -04:00
parent 7cf4ee128e
commit 906a816abf
15 changed files with 91 additions and 42 deletions

View file

@ -83,6 +83,12 @@ struct roots_desktop *desktop_create(struct roots_server *server,
&desktop->wl_shell_surface);
desktop->wl_shell_surface.notify = handle_wl_shell_surface;
desktop->xwayland = wlr_xwayland_create(server->wl_display,
desktop->compositor);
wl_signal_add(&desktop->xwayland->events.new_surface,
&desktop->xwayland_surface);
desktop->xwayland_surface.notify = handle_xwayland_surface;
desktop->gamma_control_manager = wlr_gamma_control_manager_create(
server->wl_display);