diff options
| author | Po Lu | 2022-01-14 08:52:53 +0800 |
|---|---|---|
| committer | Po Lu | 2022-01-14 08:52:53 +0800 |
| commit | 83ae392d59260da66eed3cc472a0b3af5f00ad47 (patch) | |
| tree | 054755ffbdd8fd9edb7308dbacd9039e3af2c2c5 /src | |
| parent | 53dba3202205b5fab078a47da77be4140b7f93b1 (diff) | |
| download | emacs-83ae392d59260da66eed3cc472a0b3af5f00ad47.tar.gz emacs-83ae392d59260da66eed3cc472a0b3af5f00ad47.zip | |
Refresh keyboard mapping upon receiving new XKB map
* src/xterm.c (handle_one_xevent): Call
XkbRefreshKeyboardMapping where required.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index a74c31c3f6e..ff93e210a1b 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -11461,6 +11461,8 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 11461 | 11461 | ||
| 11462 | x_find_modifier_meanings (dpyinfo); | 11462 | x_find_modifier_meanings (dpyinfo); |
| 11463 | } | 11463 | } |
| 11464 | |||
| 11465 | XkbRefreshKeyboardMapping (&xkbevent->map); | ||
| 11464 | } | 11466 | } |
| 11465 | } | 11467 | } |
| 11466 | #endif | 11468 | #endif |