aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-01-04 02:15:29 (GMT)
committermarkt <markt>2007-01-04 02:15:29 (GMT)
commite71346bd50f28be68ea8ca51f55dab2af23409fa (patch)
tree48832f7fbb98aa050596e389241d56a7a187fd89 /src/FocusControl.cc
parent1dc07de3188c8c78f69e273694b27fa580423b55 (diff)
downloadfluxbox_pavel-e71346bd50f28be68ea8ca51f55dab2af23409fa.zip
fluxbox_pavel-e71346bd50f28be68ea8ca51f55dab2af23409fa.tar.bz2
set IconicState on all unmapped clients, and unmap all clients when set to IconicState
also, a little bug fix for previous commit
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();