changeset 44083:c56b978cdfa2

(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.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 22 Mar 2002 12:28:11 +0000
parents c734e692f663
children 97a5caf68c50
files src/xterm.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Mar 22 09:44:45 2002 +0000
+++ b/src/xterm.c	Fri Mar 22 12:28:11 2002 +0000
@@ -10632,6 +10632,14 @@
 				|| ((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))