aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 9485a29..35794ef 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) ) { 2650 if ((! focused) && (! screen().isMouseFocus())) { //check focus
2651 setInputFocus(); 2651 setInputFocus();
2652 } 2652 }
2653 2653