comparison src/xterm.c @ 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 eb248012bf4a
children 960f5e1d18cf
comparison
equal deleted inserted replaced
44082:c734e692f663 44083:c56b978cdfa2
10630 #endif 10630 #endif
10631 #ifdef XK_Num_Lock 10631 #ifdef XK_Num_Lock
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))
10638 temp_index = 0; 10646 temp_index = 0;
10639 temp_buffer[temp_index++] = keysym; 10647 temp_buffer[temp_index++] = keysym;