aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
commit906a816abf812445ec9e514e6115872632fb3ee1 (patch)
tree6ff2b749c5d06505fe13f3ebabb020f9128bd8e9 /rootston/desktop.c
parent7cf4ee128e278108b0326344be01ded93ce7148b (diff)
Fix rootston keyboard, add Xwayland
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index f9af3b8e..0224dd19 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -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);