]> git.sur5r.net Git - i3/i3lock/blobdiff - i3lock.c
Fix centering the indicator in the no-xinerama case
[i3/i3lock] / 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();