aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 21c243d..29a1b8b 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -193,6 +193,7 @@ void FocusControl::stopCyclingFocus() {
193 m_cycling_window = find(m_focused_list.begin(),m_focused_list.end(),*m_cycling_window); 193 m_cycling_window = find(m_focused_list.begin(),m_focused_list.end(),*m_cycling_window);
194 if (m_cycling_window != m_focused_list.end() && 194 if (m_cycling_window != m_focused_list.end() &&
195 m_cycling_window != m_creation_order_list.end() && 195 m_cycling_window != m_creation_order_list.end() &&
196 (*m_cycling_window)->fbwindow() &&
196 (*m_cycling_window)->fbwindow()->isVisible()) { 197 (*m_cycling_window)->fbwindow()->isVisible()) {
197 WinClient *client = *m_cycling_window; 198 WinClient *client = *m_cycling_window;
198 m_focused_list.erase(m_cycling_window); 199 m_focused_list.erase(m_cycling_window);