all repos — fluxbox @ a58453fac24c4c4b2987e9716d87ef3f59f312d8

custom fork of the fluxbox windowmanager

allow focus to revert to stuck windows, and we'll see if it still causes
problems with normal focus -- that comment is older than FocusControl.cc, and
I've made a lot of changes to focus handling since then; just disabling it
wasn't the right thing to do, anyway
markt markt
commit

a58453fac24c4c4b2987e9716d87ef3f59f312d8

parent

e9f7c0f2c03706e39fd97ec39a20aad5517f0371

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

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0rc3: +*06/12/28: + * Allow focus to revert to stuck windows (Mark) + FocusControl.cc *06/12/27: * Don't assume "Jump" and "*Hidden" say "yes" in apps file (Mark) * Jump to autogrouped windows on another workspace if set to do so in
M src/FocusControl.ccsrc/FocusControl.cc

@@ -190,11 +190,8 @@ FocusedWindows::iterator it = m_focused_list.begin();

FocusedWindows::iterator it_end = m_focused_list.end(); for (; it != it_end; ++it) { if ((*it)->fbwindow() && - (((int)(*it)->fbwindow()->workspaceNumber()) == workspace - && !(*it)->fbwindow()->isIconic() - && (!(*it)->fbwindow()->isStuck() || (*it)->fbwindow()->isFocused()))) - // only give focus to a stuck window if it is currently focused - // otherwise they tend to override normal workspace focus + ((((int)(*it)->fbwindow()->workspaceNumber()) == workspace || + (*it)->fbwindow()->isStuck()) && !(*it)->fbwindow()->isIconic())) return *it; } return 0;