all repos — fluxbox @ 7ace5e80be863a6d9e4170fc76ba157312e890d5

custom fork of the fluxbox windowmanager

don't add new windows to front of focus list if they don't acquire the focus
Mark Tiefenbruck mark@fluxbox.org
commit

7ace5e80be863a6d9e4170fc76ba157312e890d5

parent

35d1017959512acd9c2547d0eef76d73660c972e

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

jump to
M src/Screen.ccsrc/Screen.cc

@@ -1345,7 +1345,7 @@ }

// add the window to the focus list // always add to front on startup to keep the focus order the same - if (focusControl().focusNew() || Fluxbox::instance()->isStartup()) + if (win->isFocused() || Fluxbox::instance()->isStartup()) focusControl().addFocusFront(*winclient); else focusControl().addFocusBack(*winclient);
M src/Window.ccsrc/Window.cc

@@ -283,7 +283,7 @@ return;

// add the window to the focus list // always add to front on startup to keep the focus order the same - if (screen().focusControl().focusNew() || Fluxbox::instance()->isStartup()) + if (m_focused || Fluxbox::instance()->isStartup()) screen().focusControl().addFocusWinFront(*this); else screen().focusControl().addFocusWinBack(*this);