mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 14:06:00 +01:00
Merge pull request #1475 from emersion/xwayland-shutdown
rootston: document why Xwayland is disconnected before clients
This commit is contained in:
commit
268c7e5cb6
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
wl_display_run(server.wl_display);
|
wl_display_run(server.wl_display);
|
||||||
#if WLR_HAS_XWAYLAND
|
#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);
|
wlr_xwayland_destroy(server.desktop->xwayland);
|
||||||
#endif
|
#endif
|
||||||
wl_display_destroy_clients(server.wl_display);
|
wl_display_destroy_clients(server.wl_display);
|
||||||
|
|
Loading…
Reference in a new issue