mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 05:30:43 -08:00
(XTread_socket): If XK_ISO_Lock and
XK_ISO_Last_Group_Lock are defined, handle keysyms between XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch.
This commit is contained in:
parent
6e71749d98
commit
7ef18d792f
1 changed files with 8 additions and 0 deletions
|
|
@ -10632,6 +10632,14 @@ XTread_socket (sd, bufp, numchars, expected)
|
|||
|| ((unsigned)(orig_keysym) == XK_Num_Lock)
|
||||
#endif
|
||||
#endif /* not HAVE_X11R5 */
|
||||
/* The symbols from XK_ISO_Lock to
|
||||
XK_ISO_Last_Group_Lock doesn't have real
|
||||
modifiers but should be treated similarly
|
||||
to Mode_switch by Emacs. */
|
||||
#if defined XK_ISO_Lock && defined XK_ISO_Last_Group_Lock
|
||||
|| ((unsigned)(orig_keysym) >= XK_ISO_Lock
|
||||
&& (unsigned)(orig_keysym) <= XK_ISO_Last_Group_Lock)
|
||||
#endif
|
||||
))
|
||||
{
|
||||
if (temp_index == sizeof temp_buffer / sizeof (short))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue