1
0
Fork 0

x11/clutter-keymap-x11: Honor XkbNewKeyboardNotify events

We already select for XkbNewKeyboardNotify events but are not acting
on them. Start doing so.

https://bugzilla.gnome.org/show_bug.cgi?id=694267
This commit is contained in:
Rui Matos 2013-02-22 00:31:34 +01:00
parent 8ba46c78e4
commit b01469c8f3

View file

@ -365,6 +365,7 @@ clutter_keymap_x11_translate_event (ClutterEventTranslator *translator,
retval = CLUTTER_TRANSLATE_REMOVE;
break;
case XkbNewKeyboardNotify:
case XkbMapNotify:
CLUTTER_NOTE (EVENT, "Updating keyboard mapping");
XkbRefreshKeyboardMapping (&xkb_event->map);