From 5cc56b8e3ca4d549be80d121c39f6affcb488285 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sat, 28 Jan 2012 12:14:48 +0100 Subject: [PATCH] xkb: fix merge failure Merging the big xkb cleanup reversed the previous modifier state change. Fix this now. Signed-off-by: David Herrmann --- src/kbd_xkb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kbd_xkb.c b/src/kbd_xkb.c index 046bde6..7e04858 100644 --- a/src/kbd_xkb.c +++ b/src/kbd_xkb.c @@ -526,7 +526,7 @@ int kmscon_kbd_process_key(struct kmscon_kbd *kbd, } event_filled = false; - if (key_state != KMSCON_KEY_RELEASED) { + if (key_state != KMSCON_KEY_RELEASED && !state_changed) { out->keycode = code; out->keysym = sym; /* 1-to-1 match - this might change. */