don't change focus to a window that doesn't accept focus, see bug #1626114
markt markt
2 files changed,
4 insertions(+),
1 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -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.cc
→
src/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;