mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Merge pull request #959 from VincentVanlaer/xwayland-lazy
Add the option to start Xwayland only when a client connects
This commit is contained in:
commit
8e831cd416
8 changed files with 146 additions and 72 deletions
|
|
@ -822,7 +822,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
|
|||
|
||||
if (config->xwayland) {
|
||||
desktop->xwayland = wlr_xwayland_create(server->wl_display,
|
||||
desktop->compositor);
|
||||
desktop->compositor, config->xwayland_lazy);
|
||||
wl_signal_add(&desktop->xwayland->events.new_surface,
|
||||
&desktop->xwayland_surface);
|
||||
desktop->xwayland_surface.notify = handle_xwayland_surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue