another little fix
This commit is contained in:
parent
bbcfc75cc9
commit
de9ac12895
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue