Merge pull request #1475 from emersion/xwayland-shutdown

rootston: document why Xwayland is disconnected before clients
master
Drew DeVault 6 years ago committed by GitHub
commit 268c7e5cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save