mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-07 04:34:47 -05:00
Cage: destroy XWayland before clients
This is the order in which it should be done.
This commit is contained in:
parent
7f7d8ac33e
commit
5deb7776fc
1 changed files with 5 additions and 4 deletions
9
cage.c
9
cage.c
|
|
@ -242,16 +242,17 @@ main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_display_run(server.wl_display);
|
wl_display_run(server.wl_display);
|
||||||
|
|
||||||
|
#if CAGE_HAS_XWAYLAND
|
||||||
|
wlr_xwayland_destroy(xwayland);
|
||||||
|
wlr_xcursor_manager_destroy(xcursor_manager);
|
||||||
|
#endif
|
||||||
wl_display_destroy_clients(server.wl_display);
|
wl_display_destroy_clients(server.wl_display);
|
||||||
|
|
||||||
waitpid(pid, NULL, 0);
|
waitpid(pid, NULL, 0);
|
||||||
|
|
||||||
end:
|
end:
|
||||||
cg_seat_destroy(server.seat);
|
cg_seat_destroy(server.seat);
|
||||||
#if CAGE_HAS_XWAYLAND
|
|
||||||
wlr_xwayland_destroy(xwayland);
|
|
||||||
wlr_xcursor_manager_destroy(xcursor_manager);
|
|
||||||
#endif
|
|
||||||
wlr_xdg_shell_destroy(xdg_shell);
|
wlr_xdg_shell_destroy(xdg_shell);
|
||||||
wlr_idle_inhibit_v1_destroy(server.idle_inhibit_v1);
|
wlr_idle_inhibit_v1_destroy(server.idle_inhibit_v1);
|
||||||
if (server.idle) {
|
if (server.idle) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue