diff options
author | Eli Zaretskii <eliz@gnu.org> | 2002-03-22 12:28:11 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2002-03-22 12:28:11 +0000 |
commit | 7ef18d792ffebc6db5c451aa07713920d40445cb (patch) | |
tree | 8ad8a2a34beeedbb5e3ffe7189c91146522de6a0 /src/xterm.c | |
parent | 6e71749d98c98d2a4f51d1f01e5aa22a352e55e4 (diff) | |
download | emacs-7ef18d792ffebc6db5c451aa07713920d40445cb.tar.gz |
(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.
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 37e41d0f34a..0e6ed76eb61 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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)) |