Revert "backends/x11: Do not reload keymap on new keyboard notifications"

This reverts commit b01edc22f3.

It breaks keybindings on certain physical keyboard layouts.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/822
This commit is contained in:
Carlos Garnacho 2019-10-07 17:52:00 +02:00 committed by Florian Müllner
parent b5f50028f2
commit ce86f90efb

View File

@ -356,6 +356,7 @@ handle_host_xevent (MetaBackend *backend,
{ {
switch (xkb_ev->any.xkb_type) switch (xkb_ev->any.xkb_type)
{ {
case XkbNewKeyboardNotify:
case XkbMapNotify: case XkbMapNotify:
keymap_changed (backend); keymap_changed (backend);
break; break;