[mutter/wip/carlosg/issue-822: 8/8] Revert "backends/x11: Do not reload keymap on new keyboard notifications"



commit ce86f90efbaa51522ba14c5b4cad933c2106de42
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Oct 7 17:52:00 2019 +0200

    Revert "backends/x11: Do not reload keymap on new keyboard notifications"
    
    This reverts commit b01edc22f3cf816ec2bbc4e777fb44525a8456a8.
    
    It breaks keybindings on certain physical keyboard layouts.
    
    Closes: https://gitlab.gnome.org/GNOME/mutter/issues/822

 src/backends/x11/meta-backend-x11.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/backends/x11/meta-backend-x11.c b/src/backends/x11/meta-backend-x11.c
index 630bc6cfb..a0fd2f5e0 100644
--- a/src/backends/x11/meta-backend-x11.c
+++ b/src/backends/x11/meta-backend-x11.c
@@ -356,6 +356,7 @@ handle_host_xevent (MetaBackend *backend,
         {
           switch (xkb_ev->any.xkb_type)
             {
+            case XkbNewKeyboardNotify:
             case XkbMapNotify:
               keymap_changed (backend);
               break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]