Fix crash when closing a window while cycling (Mark)
markt markt
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
src/FocusControl.cc
→
src/FocusControl.cc
@@ -365,9 +365,10 @@
m_focused_list.remove(&client); m_creation_order_list.remove(&client); - if (cyc == &client) + if (cyc == &client) { + m_cycling_window = m_creation_order_list.end(); stopCyclingFocus(); - + } } /**