Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/input.cc')
-rw-r--r--src/client/input.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/input.cc b/src/client/input.cc
index 3741e15..b6199c6 100644
--- a/src/client/input.cc
+++ b/src/client/input.cc
@@ -558,9 +558,8 @@ void key_pressed(Key *key)
ui::console()->toggle();
return;
- }
-
- if (ui::root()->input_key(true, Keyboard::translate_keysym(key->sym(), keyboard_modifiers), keyboard_modifiers)) {
+
+ } else if (ui::root()->input_key(true, Keyboard::translate_keysym(key->sym(), keyboard_modifiers), keyboard_modifiers)) {
return;
} else if (key->bind(modifier()).size() && core::application()->connected()) {