diff options
| author | Po Lu | 2023-08-26 18:12:24 +0800 |
|---|---|---|
| committer | Po Lu | 2023-08-26 18:12:24 +0800 |
| commit | a6cb8e3a1fabef341de5a53e6525fc0263dd7499 (patch) | |
| tree | f1a9e0ca7f422e58e9044b8cb21db70209577d61 /src | |
| parent | 39d2285bdc958c929981707d790a600242cc9cba (diff) | |
| download | emacs-a6cb8e3a1fabef341de5a53e6525fc0263dd7499.tar.gz emacs-a6cb8e3a1fabef341de5a53e6525fc0263dd7499.zip | |
Repair bug#65068 on Emacs 29
* src/xterm.c (x_term_init): Disable ControlFallback library
control wherever present. (bug#65068)
Do not merge to master.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 5840b15bcb7..709705fc19e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -30178,6 +30178,16 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) | |||
| 30178 | XkbNewKeyboardNotifyMask | XkbMapNotifyMask, | 30178 | XkbNewKeyboardNotifyMask | XkbMapNotifyMask, |
| 30179 | XkbNewKeyboardNotifyMask | XkbMapNotifyMask); | 30179 | XkbNewKeyboardNotifyMask | XkbMapNotifyMask); |
| 30180 | } | 30180 | } |
| 30181 | |||
| 30182 | /* XFree86 extends XKBlib with a new Xlib control `ControlFallback', | ||
| 30183 | which enables a search for symbols designating ASCII characters | ||
| 30184 | within inactive groups during keycode translation when | ||
| 30185 | ControlMask is set. Users find this behavior gratuitous, so | ||
| 30186 | disable it if present. */ | ||
| 30187 | |||
| 30188 | #ifdef XkbLC_ControlFallback | ||
| 30189 | XkbSetXlibControls (dpyinfo->display, XkbLC_ControlFallback, 0); | ||
| 30190 | #endif /* XkbLC_ControlFallback */ | ||
| 30181 | #endif | 30191 | #endif |
| 30182 | 30192 | ||
| 30183 | #ifdef HAVE_XFIXES | 30193 | #ifdef HAVE_XFIXES |