summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/eventhandler.cc')
-rw-r--r--plugingui/eventhandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc
index 57718c2..b971b15 100644
--- a/plugingui/eventhandler.cc
+++ b/plugingui/eventhandler.cc
@@ -498,9 +498,9 @@ void GUI::EventHandler::processEvents(Window *window)
if(be->direction == 1) {
if(w->catchMouse()) window->setButtonDownFocus(w);
- } else {
- if(w->isFocusable()) window->setKeyboardFocus(w);
}
+
+ if(w->isFocusable()) window->setKeyboardFocus(w);
}
}
break;