all repos — fluxbox @ de9ac128956c08aef22e68306c4f3fdcfde0221d

custom fork of the fluxbox windowmanager

another little fix
markt markt
commit

de9ac128956c08aef22e68306c4f3fdcfde0221d

parent

bbcfc75cc9eb8cf560b7a4f5f87487f73f45de20

1 files changed, 3 insertions(+), 1 deletions(-)

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

@@ -249,7 +249,9 @@ void FocusControl::setScreenFocusedWindow(WinClient &win_client) {

// raise newly focused window to the top of the focused list // don't change the order if we're cycling or shutting down - if (!isCycling() && !m_screen.isShuttingdown() && !s_reverting) { + // don't change on startup, as it may add windows that aren't listed yet + if (!isCycling() && !m_screen.isShuttingdown() && !s_reverting && + !Fluxbox::instance()->isStartup()) { m_focused_list.remove(&win_client); m_focused_list.push_front(&win_client); m_cycling_window = m_focused_list.begin();