Add option to rootston to start xwayland lazy

This commit is contained in:
Vincent Vanlaer 2018-05-06 22:22:39 +02:00
parent c80bf1591e
commit 31861b3a7a
3 changed files with 6 additions and 1 deletions

View file

@ -835,7 +835,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
if (config->xwayland) {
desktop->xwayland = wlr_xwayland_create(server->wl_display,
desktop->compositor, false);
desktop->compositor, config->xwayland_lazy);
wl_signal_add(&desktop->xwayland->events.new_surface,
&desktop->xwayland_surface);
desktop->xwayland_surface.notify = handle_xwayland_surface;