all repos — fluxbox @ 52d3f3f6b6f1c8ccf899f8722ea9befe76da9182

custom fork of the fluxbox windowmanager

don't raise a window after cycling if it has been minimized
markt markt
commit

52d3f3f6b6f1c8ccf899f8722ea9befe76da9182

parent

81c650c63e3fdbe535cd4a292a4afb07118e1241

2 files changed, 5 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0rc3: *06/08/03: + * Don't raise a window after cycling if it has been minimized (Mark) + FocusControl.cc * Added support for negative arguments to the `Tab' key command to count backwards from the last tab in the group (Mark) CurrentWindowCmd.cc
M src/FocusControl.ccsrc/FocusControl.cc

@@ -163,7 +163,9 @@ // the iterator may be invalid if the window died

// in which case we'll do a proper revert focus if (m_cycling_creation_order && m_cycling_window != m_creation_order_list.end()) m_cycling_window = find(m_focused_list.begin(),m_focused_list.end(),*m_cycling_window); - if (m_cycling_window != m_focused_list.end() && m_cycling_window != m_creation_order_list.end()) { + if (m_cycling_window != m_focused_list.end() && + m_cycling_window != m_creation_order_list.end() && + (*m_cycling_window)->fbwindow()->isVisible()) { WinClient *client = *m_cycling_window; m_focused_list.erase(m_cycling_window); m_focused_list.push_front(client);