From 3a81afed0e21a515f5694204beb0438407fc1313 Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 8 Jun 2018 09:29:55 +0100 Subject: rootston: destroy xwayland before all clients Destroying all clients disconnects the xwayland client, and xwayland automatically restarts when disconnected. --- rootston/main.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3