xkb: fix merge failure

Merging the big xkb cleanup reversed the previous modifier state change.
Fix this now.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann committed 2012-01-28 12:14:48 +01:00
1 parent bd09f38a4d
commit 5cc56b8e3c
1 file changed
+1 -1
+1 -1
View File
@@ -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. */