summaryrefslogtreecommitdiff
path: root/i3lock.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-03-29 10:13:01 +0100
committerMichael Stapelberg <michael@stapelberg.de>2013-03-29 10:13:01 +0100
commitd4d589a7dd25a264c2679987fdb4072d833cb259 (patch)
treeff0dfaa2f654b41b1033df4b073feb05ce36ffb3 /i3lock.c
parent1495903e5d72ddd7fbc1adb699b609feee435c83 (diff)
fix ctrl-u handling
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();