i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 9e48c74be19f7a27b2e01cf744f85b8b313a45b3
parent 562e824246b9e81e65644660714db404035e693a
Author: Daniel Otero <otero.o.daniel@gmail.com>
Date:   Thu, 12 Feb 2015 11:22:58 +0100

Avoid handle a keysym if the compose state gets cancelled

This is the approach taken by libX11, and feels more consistent.

Diffstat:
Mi3lock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
         }
     }