summaryrefslogtreecommitdiff
path: root/i3lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'i3lock.c')
-rw-r--r--i3lock.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/i3lock.c b/i3lock.c
index 08f78c7..5a87999 100644
--- 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();