]> git.eshelyaron.com Git - emacs.git/commitdiff
Refresh keyboard mapping upon receiving new XKB map
authorPo Lu <luangruo@yahoo.com>
Fri, 14 Jan 2022 00:52:53 +0000 (08:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 14 Jan 2022 00:52:53 +0000 (08:52 +0800)
* src/xterm.c (handle_one_xevent): Call
XkbRefreshKeyboardMapping where required.

src/xterm.c

index a74c31c3f6e6dc7fc697e4c1aa2044cdadcf37a7..ff93e210a1b75de54975ea5bc701de307696e741 100644 (file)
@@ -11461,6 +11461,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
 
                  x_find_modifier_meanings (dpyinfo);
                }
+
+             XkbRefreshKeyboardMapping (&xkbevent->map);
            }
        }
 #endif