changeset 3218:0069a30d083f

(XTread_socket, case KeyPress) [HPUX]: Recognize the extended function keys.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 May 1993 21:13:59 +0000
parents 9a682e5f5b53
children 1aa8fa0a569e
files src/xterm.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri May 28 21:02:48 1993 +0000
+++ b/src/xterm.c	Fri May 28 21:13:59 1993 +0000
@@ -2874,6 +2874,12 @@
 		      || keysym == XK_Delete
 		      || IsCursorKey (keysym)       /* 0xff50 <= x < 0xff60 */
 		      || IsMiscFunctionKey (keysym) /* 0xff60 <= x < 0xff80 */
+#ifdef HPUX
+		      /* This recognizes the "extended function keys".
+			 It seems there's no cleaner way.  */
+		      || ((unsigned) (keysym) >= XK_Select
+			  && (unsigned)(keysym) < XK_KP_Space)
+#endif
 		      || IsKeypadKey (keysym)       /* 0xff80 <= x < 0xffbe */
 		      || IsFunctionKey (keysym))    /* 0xffbe <= x < 0xffe1 */
 		    {