diff options
| author | Eli Zaretskii | 2002-03-22 12:28:11 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-03-22 12:28:11 +0000 |
| commit | 7ef18d792ffebc6db5c451aa07713920d40445cb (patch) | |
| tree | 8ad8a2a34beeedbb5e3ffe7189c91146522de6a0 | |
| parent | 6e71749d98c98d2a4f51d1f01e5aa22a352e55e4 (diff) | |
| download | emacs-7ef18d792ffebc6db5c451aa07713920d40445cb.tar.gz emacs-7ef18d792ffebc6db5c451aa07713920d40445cb.zip | |
(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.
| -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) | |||
| 10632 | || ((unsigned)(orig_keysym) == XK_Num_Lock) | 10632 | || ((unsigned)(orig_keysym) == XK_Num_Lock) |
| 10633 | #endif | 10633 | #endif |
| 10634 | #endif /* not HAVE_X11R5 */ | 10634 | #endif /* not HAVE_X11R5 */ |
| 10635 | /* The symbols from XK_ISO_Lock to | ||
| 10636 | XK_ISO_Last_Group_Lock doesn't have real | ||
| 10637 | modifiers but should be treated similarly | ||
| 10638 | to Mode_switch by Emacs. */ | ||
| 10639 | #if defined XK_ISO_Lock && defined XK_ISO_Last_Group_Lock | ||
| 10640 | || ((unsigned)(orig_keysym) >= XK_ISO_Lock | ||
| 10641 | && (unsigned)(orig_keysym) <= XK_ISO_Last_Group_Lock) | ||
| 10642 | #endif | ||
| 10635 | )) | 10643 | )) |
| 10636 | { | 10644 | { |
| 10637 | if (temp_index == sizeof temp_buffer / sizeof (short)) | 10645 | if (temp_index == sizeof temp_buffer / sizeof (short)) |