From 82992a9b16d64104dd28d42e97cc118a75fded86 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 8 Dec 2010 20:19:21 +0000 Subject: Added clock. --- src/client/input.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client/input.cc') 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()) { -- cgit v1.2.3