mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 01:00:06 +02:00
Stop ft-screens without an abort
wlroots asserts that nothing still listens to its xdg-shell and decoration globals when the display goes, so every desktop stop ended with ft-screens aborting and leaving a core dump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6122b7eb15
commit
691b66cd87
1 file changed
+3
@@ -657,6 +657,9 @@ int main(int argc, char **argv) {
|
||||
wlr_log(WLR_INFO, "stopping");
|
||||
if (s.child > 0) kill(s.child, SIGTERM);
|
||||
wl_display_destroy_clients(s.display);
|
||||
// wlroots asserts that nothing still listens to its globals when they go.
|
||||
wl_list_remove(&s.new_toplevel.link);
|
||||
wl_list_remove(&s.new_decoration.link);
|
||||
ft_vr_shutdown();
|
||||
wl_display_destroy(s.display);
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user