diff options
author | Stijn Buys <ingar@osirion.org> | 2010-12-08 20:19:21 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-12-08 20:19:21 +0000 |
commit | 82992a9b16d64104dd28d42e97cc118a75fded86 (patch) | |
tree | a7c30cedd613196c06df3fc04f6bce015c3927c1 /src/client/input.cc | |
parent | 1124a81de517375a012b89bf83462c091d472cab (diff) |
Added clock.
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 5 |
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()) { |