From: Michael Stapelberg Date: Fri, 29 Mar 2013 09:13:01 +0000 (+0100) Subject: fix ctrl-u handling X-Git-Tag: 2.5~4 X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3lock;a=commitdiff_plain;h=d4d589a7dd25a264c2679987fdb4072d833cb259 fix ctrl-u handling --- 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();