Skip to content

Commit

Permalink
fix: do full tabbox reset on window release
Browse files Browse the repository at this point in the history
When a window gets destroyed do a full tabbox reset, otherwise with a single
window we might segfault.
  • Loading branch information
romangg committed Feb 8, 2024
1 parent b73eb03 commit 6165dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/win/x11/window_release.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void remove_controlled_window_from_space(Space& space, Win* win)

space.stacking.order.update_count();
update_space_areas(space);
update_tabbox(space);
space.tabbox->reset();
}

template<typename Win>
Expand Down

0 comments on commit 6165dc2

Please sign in to comment.