all repos — fluxbox @ 3a0d8391f84b7c5ebc28b75ab16e1092c1d06e43

custom fork of the fluxbox windowmanager

LeftMouseButton should always setInputFocus() to avoid focus problems
when changing the active window via NextWindow/PrevWindow and then
not beeing able to set the focus of the window underneath the mouse
with a simple click again (in MouseFocus - mode). Suggestion via
mail to devel-ml from Eike von Seggern
mathias mathias
commit

3a0d8391f84b7c5ebc28b75ab16e1092c1d06e43

parent

94acb4a27e758904a0d973129dfbdc9e686977f1

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

jump to
M ChangeLogChangeLog

@@ -1,5 +1,10 @@

(Format: Year/Month/Day) Changes for 0.9.15: + * Click of LeftMouseButton should always setInputFocus (thanx Eike von Seggern) + solves problem with focus changes via key and then not beeing + able to focus the window underneath the mouse with a simple + click in MouseFocus mode + src/Window.cc * Use fbsetroot in Default-Styles (Mathias) data/styles/* -------------------------------------------------------------
M src/Window.ccsrc/Window.cc

@@ -2647,7 +2647,7 @@ // check frame events first

frame().buttonPressEvent(be); if (be.button == 1 || (be.button == 3 && be.state == Mod1Mask)) { - if ((! focused) && (! screen().isMouseFocus())) { //check focus + if ((! focused) ) { setInputFocus(); }