diff options
author | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-05-06 20:23:10 +0200 |
---|---|---|
committer | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-05-06 23:41:25 +0200 |
commit | c80bf1591e5cea26bd29e1b4b4680d4ef3693833 (patch) | |
tree | b64a5554864bf6bd357222c3b3530009456ea335 /rootston | |
parent | 2959fcce1ac410904ebb2d1b11bbc954d0c00c26 (diff) |
Allow xwayland to start lazily
Makes the xwayland startup process two phased.
The first phase just initialises the X11 sockets.
The second phase starts the Xwayland server itself.
When starting xwayland lazily the second phase will be postponed until
a client has connected to the X11 socket.
Changes in behaviour:
The DISPLAY environment is now set immediately after the X11 sockets
are created.
When the Xwayland server is killed or crashes, the sockets will not be
recreated, but reused.
Fixes #849: Start up Xwayland lazily
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/desktop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index 6ac665bc..06c188d8 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -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); + desktop->compositor, false); wl_signal_add(&desktop->xwayland->events.new_surface, &desktop->xwayland_surface); desktop->xwayland_surface.notify = handle_xwayland_surface; |