aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_x/ecore_x_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_x/ecore_x_events.c')
-rw-r--r--src/lib/ecore_x/ecore_x_events.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore_x/ecore_x_events.c b/src/lib/ecore_x/ecore_x_events.c
index 51bf491d4b..61528cd5d1 100644
--- a/src/lib/ecore_x/ecore_x_events.c
+++ b/src/lib/ecore_x/ecore_x_events.c
@@ -2679,6 +2679,11 @@ _ecore_x_event_handle_xkb(XEvent *xevent)
xkbmapping = (XkbMapNotifyEvent *)xkbev;
XkbRefreshKeyboardMapping(xkbmapping);
}
+ else
+ {
+ XkbNewKeyboardNotifyEvent *xkbnkn = (void*)xkbev;
+ if (!(xkbnkn->changed & XkbNKN_KeycodesMask)) return;
+ }
ecore_event_add(ECORE_X_EVENT_XKB_NEWKBD_NOTIFY, NULL, free_hash, NULL);
eina_hash_add(emitted_events, &xkbev->new_kbd.serial, (void*) 1);
}