diff options
author | mathias <mathias> | 2005-09-16 05:58:26 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-09-16 05:58:26 (GMT) |
commit | 3a0d8391f84b7c5ebc28b75ab16e1092c1d06e43 (patch) | |
tree | 8b716eff9656207dea3e64f0c0d70625ae74b896 /src | |
parent | 94acb4a27e758904a0d973129dfbdc9e686977f1 (diff) | |
download | fluxbox_lack-3a0d8391f84b7c5ebc28b75ab16e1092c1d06e43.zip fluxbox_lack-3a0d8391f84b7c5ebc28b75ab16e1092c1d06e43.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 35794ef..9485a29 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -2647,7 +2647,7 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) { | |||
2647 | frame().buttonPressEvent(be); | 2647 | frame().buttonPressEvent(be); |
2648 | 2648 | ||
2649 | if (be.button == 1 || (be.button == 3 && be.state == Mod1Mask)) { | 2649 | if (be.button == 1 || (be.button == 3 && be.state == Mod1Mask)) { |
2650 | if ((! focused) && (! screen().isMouseFocus())) { //check focus | 2650 | if ((! focused) ) { |
2651 | setInputFocus(); | 2651 | setInputFocus(); |
2652 | } | 2652 | } |
2653 | 2653 | ||