]> git.sur5r.net Git - i3/i3lock/blobdiff - i3lock.c
Avoid handle a keysym if the compose state gets cancelled
[i3/i3lock] / i3lock.c
index b58297e785d857865d2583e3c9c52afbb177d024..16e791109d2e37676e15fa3080811df620ca1907 100644 (file)
--- a/i3lock.c
+++ b/i3lock.c
@@ -339,7 +339,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
             break;
         case XKB_COMPOSE_CANCELLED:
             xkb_compose_state_reset(xkb_compose_state);
-            break;
+            return;
         }
     }