all repos — fluxbox @ 416cca0eddb164d6c328588829f6c48d6e4e976d

custom fork of the fluxbox windowmanager

don't change focus to a window that doesn't accept focus, see bug #1626114
markt markt
commit

416cca0eddb164d6c328588829f6c48d6e4e976d

parent

8930a711ee101c1a02f579a2ee8ebbe39065c085

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

jump to
M ChangeLogChangeLog

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

(Format: Year/Month/Day) Changes for 1.0rc3: *07/01/05: + * Don't change focus to a window that doesn't accept focus (Mark) + FocusControl.cc * Only grab keybindings on screens managed by fluxbox (Mark) fluxbox.hh Keys.cc/hh FbTk/KeyUtil.cc/hh * Fix locale being applied to the clock. (Simon)
M src/FocusControl.ccsrc/FocusControl.cc

@@ -216,7 +216,8 @@ FocusedWindows::iterator it_end = m_focused_list.end();

for (; it != it_end; ++it) { if ((*it)->fbwindow() && ((((int)(*it)->fbwindow()->workspaceNumber()) == workspace || - (*it)->fbwindow()->isStuck()) && !(*it)->fbwindow()->isIconic())) + (*it)->fbwindow()->isStuck()) && (*it)->acceptsFocus() && + !(*it)->fbwindow()->isIconic())) return *it; } return 0;