]> git.sur5r.net Git - i3/i3lock/commitdiff
fix ctrl-u handling
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 29 Mar 2013 09:13:01 +0000 (10:13 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 29 Mar 2013 09:13:01 +0000 (10:13 +0100)
i3lock.c

index 08f78c7fc0f4197e3d8b215ff3e843d99a07922f..5a87999f6b4b666b4e5dfa8bd4371e4ba97f48ae 100644 (file)
--- a/i3lock.c
+++ b/i3lock.c
@@ -274,9 +274,12 @@ static void handle_key_press(xcb_key_press_event_t *event) {
         return;
 
     case XKB_KEY_u:
-        if (ctrl)
+        if (ctrl) {
+            DEBUG("C-u pressed\n");
             clear_input();
-        return;
+            return;
+        }
+        break;
 
     case XKB_KEY_Escape:
         clear_input();