aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2006-08-03 21:23:08 (GMT)
committermarkt <markt>2006-08-03 21:23:08 (GMT)
commit52d3f3f6b6f1c8ccf899f8722ea9befe76da9182 (patch)
tree1cbc99d06d728ff58e0f35d39c87e3171126adc1 /src
parent81c650c63e3fdbe535cd4a292a4afb07118e1241 (diff)
downloadfluxbox-52d3f3f6b6f1c8ccf899f8722ea9befe76da9182.zip
fluxbox-52d3f3f6b6f1c8ccf899f8722ea9befe76da9182.tar.bz2
don't raise a window after cycling if it has been minimized
Diffstat (limited to 'src')
-rw-r--r--src/FocusControl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 03f1dc5..dafad30 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -163,7 +163,9 @@ void FocusControl::stopCyclingFocus() {
163 // in which case we'll do a proper revert focus 163 // in which case we'll do a proper revert focus
164 if (m_cycling_creation_order && m_cycling_window != m_creation_order_list.end()) 164 if (m_cycling_creation_order && m_cycling_window != m_creation_order_list.end())
165 m_cycling_window = find(m_focused_list.begin(),m_focused_list.end(),*m_cycling_window); 165 m_cycling_window = find(m_focused_list.begin(),m_focused_list.end(),*m_cycling_window);
166 if (m_cycling_window != m_focused_list.end() && m_cycling_window != m_creation_order_list.end()) { 166 if (m_cycling_window != m_focused_list.end() &&
167 m_cycling_window != m_creation_order_list.end() &&
168 (*m_cycling_window)->fbwindow()->isVisible()) {
167 WinClient *client = *m_cycling_window; 169 WinClient *client = *m_cycling_window;
168 m_focused_list.erase(m_cycling_window); 170 m_focused_list.erase(m_cycling_window);
169 m_focused_list.push_front(client); 171 m_focused_list.push_front(client);