diff options
author | emersion <contact@emersion.fr> | 2018-06-08 09:29:55 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-08 09:29:55 +0100 |
commit | 3a81afed0e21a515f5694204beb0438407fc1313 (patch) | |
tree | 6ed0589bb6c57ce98160dbd19bdbd9b2ffc2f0ca /rootston | |
parent | 32f9699359a4caeb833c4f38c61f065d06d551f6 (diff) |
rootston: destroy xwayland before all clients
Destroying all clients disconnects the xwayland client, and
xwayland automatically restarts when disconnected.
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/main.c b/rootston/main.c index 07a41d5d..8a0205f2 100644 --- a/rootston/main.c +++ b/rootston/main.c @@ -72,6 +72,9 @@ int main(int argc, char **argv) { } wl_display_run(server.wl_display); +#ifdef WLR_HAS_XWAYLAND + wlr_xwayland_destroy(server.desktop->xwayland); +#endif wl_display_destroy_clients(server.wl_display); wl_display_destroy(server.wl_display); return 0; |