1
Fork 0
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:
Eli Zaretskii 2002-03-22 12:28:11 +00:00
parent 6e71749d98
commit 7ef18d792f

View file

@ -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))