rootston: document why Xwayland is disconnected before clients

This commit is contained in:
emersion 2019-01-18 12:20:04 +01:00
parent 0e0ba65bc0
commit 461360aff1
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -73,6 +73,8 @@ int main(int argc, char **argv) {
wl_display_run(server.wl_display);
#if WLR_HAS_XWAYLAND
// We need to shutdown Xwayland before disconnecting all clients, otherwise
// wlroots will restart it automatically.
wlr_xwayland_destroy(server.desktop->xwayland);
#endif
wl_display_destroy_clients(server.wl_display);