all repos — fluxbox @ 8d4a6d5181aff0f0ca87b9709da7b4fba842f30e

custom fork of the fluxbox windowmanager

one more fix
markt markt
commit

8d4a6d5181aff0f0ca87b9709da7b4fba842f30e

parent

5db87437e6d1cb4c5bf6f3500c3f650b6b664ed1

1 files changed, 8 insertions(+), 8 deletions(-)

jump to
M src/FocusControl.ccsrc/FocusControl.cc

@@ -435,31 +435,31 @@ void FocusControl::removeClient(WinClient &client) {

if (client.screen().isShuttingdown()) return; - m_focused_list.remove(&client); - m_creation_order_list.remove(&client); - client.screen().clientListSig().notify(); - if (m_cycling_list && m_cycling_window != m_cycling_list->end() && *m_cycling_window == &client) { m_cycling_window = m_cycling_list->end(); stopCyclingFocus(); } else if (m_cycling_last == &client) m_cycling_last = 0; + + m_focused_list.remove(&client); + m_creation_order_list.remove(&client); + client.screen().clientListSig().notify(); } void FocusControl::removeWindow(Focusable &win) { if (win.screen().isShuttingdown()) return; - m_focused_win_list.remove(&win); - m_creation_order_win_list.remove(&win); - win.screen().clientListSig().notify(); - if (m_cycling_list && m_cycling_window != m_cycling_list->end() && *m_cycling_window == &win) { m_cycling_window = m_cycling_list->end(); stopCyclingFocus(); } + + m_focused_win_list.remove(&win); + m_creation_order_win_list.remove(&win); + win.screen().clientListSig().notify(); } void FocusControl::shutdown() {