diff options
author | Daniel Otero <otero.o.daniel@gmail.com> | 2015-02-12 11:22:58 +0100 |
---|---|---|
committer | Daniel Otero <otero.o.daniel@gmail.com> | 2015-02-12 11:22:58 +0100 |
commit | 9e48c74be19f7a27b2e01cf744f85b8b313a45b3 (patch) | |
tree | cf0f88c372a5872b442b00ca8dfad7b2944cff9c | |
parent | 562e824246b9e81e65644660714db404035e693a (diff) |
Avoid handle a keysym if the compose state gets cancelled
This is the approach taken by libX11, and feels more consistent.
-rw-r--r-- | i3lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |