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.
This commit is contained in:
parent
39d2285bdc
commit
a6cb8e3a1f
1 changed files with 10 additions and 0 deletions
10
src/xterm.c
10
src/xterm.c
|
@ -30178,6 +30178,16 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
|
||||||
XkbNewKeyboardNotifyMask | XkbMapNotifyMask,
|
XkbNewKeyboardNotifyMask | XkbMapNotifyMask,
|
||||||
XkbNewKeyboardNotifyMask | XkbMapNotifyMask);
|
XkbNewKeyboardNotifyMask | XkbMapNotifyMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* XFree86 extends XKBlib with a new Xlib control `ControlFallback',
|
||||||
|
which enables a search for symbols designating ASCII characters
|
||||||
|
within inactive groups during keycode translation when
|
||||||
|
ControlMask is set. Users find this behavior gratuitous, so
|
||||||
|
disable it if present. */
|
||||||
|
|
||||||
|
#ifdef XkbLC_ControlFallback
|
||||||
|
XkbSetXlibControls (dpyinfo->display, XkbLC_ControlFallback, 0);
|
||||||
|
#endif /* XkbLC_ControlFallback */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_XFIXES
|
#ifdef HAVE_XFIXES
|
||||||
|
|
Loading…
Add table
Reference in a new issue