diff options
-rw-r--r-- | src/FocusControl.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index e92eced..ce61a4d 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -365,9 +365,10 @@ void FocusControl::removeClient(WinClient &client) { | |||
365 | m_focused_list.remove(&client); | 365 | m_focused_list.remove(&client); |
366 | m_creation_order_list.remove(&client); | 366 | m_creation_order_list.remove(&client); |
367 | 367 | ||
368 | if (cyc == &client) | 368 | if (cyc == &client) { |
369 | m_cycling_window = m_creation_order_list.end(); | ||
369 | stopCyclingFocus(); | 370 | stopCyclingFocus(); |
370 | 371 | } | |
371 | } | 372 | } |
372 | 373 | ||
373 | /** | 374 | /** |