Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/ui.cc b/src/ui/ui.cc
index 459a2a0..93b5e16 100644
--- a/src/ui/ui.cc
+++ b/src/ui/ui.cc
@@ -515,7 +515,8 @@ bool UI::input_key(const bool pressed, const int key, const unsigned int modifie
handled = f->event_key(pressed, key, modifier);
}
ui_input_focus = f;
- } else {
+
+ } else if (key < 564) {
// mouse buttons
Widget *f = find_mouse_focus(mouse_cursor);
if (f) {