aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index d09738d..f363f30 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -154,7 +154,8 @@ void FocusControl::addFocusBack(WinClient &client) {
154// move all clients in given window to back of focused list 154// move all clients in given window to back of focused list
155void FocusControl::setFocusBack(FluxboxWindow *fbwin) { 155void FocusControl::setFocusBack(FluxboxWindow *fbwin) {
156 // do nothing if there are no windows open 156 // do nothing if there are no windows open
157 if (m_focused_list.empty()) 157 // don't change focus order while cycling
158 if (m_focused_list.empty() || isCycling())
158 return; 159 return;
159 160
160 FocusedWindows::iterator it = m_focused_list.begin(); 161 FocusedWindows::iterator it = m_focused_list.begin();