diff options
| author | Richard M. Stallman | 1993-05-28 21:13:59 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-28 21:13:59 +0000 |
| commit | c34790e0b533bf7ddb6bc6d4c654bc7d9dd2ba80 (patch) | |
| tree | ef346ce008548b87708da64fc3176517d2336d6a /src | |
| parent | 57d9fc987d165c28305d141607f061e0a349cce4 (diff) | |
| download | emacs-c34790e0b533bf7ddb6bc6d4c654bc7d9dd2ba80.tar.gz emacs-c34790e0b533bf7ddb6bc6d4c654bc7d9dd2ba80.zip | |
(XTread_socket, case KeyPress) [HPUX]:
Recognize the extended function keys.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 7c6fee06912..033b1da5685 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2874,6 +2874,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected) | |||
| 2874 | || keysym == XK_Delete | 2874 | || keysym == XK_Delete |
| 2875 | || IsCursorKey (keysym) /* 0xff50 <= x < 0xff60 */ | 2875 | || IsCursorKey (keysym) /* 0xff50 <= x < 0xff60 */ |
| 2876 | || IsMiscFunctionKey (keysym) /* 0xff60 <= x < 0xff80 */ | 2876 | || IsMiscFunctionKey (keysym) /* 0xff60 <= x < 0xff80 */ |
| 2877 | #ifdef HPUX | ||
| 2878 | /* This recognizes the "extended function keys". | ||
| 2879 | It seems there's no cleaner way. */ | ||
| 2880 | || ((unsigned) (keysym) >= XK_Select | ||
| 2881 | && (unsigned)(keysym) < XK_KP_Space) | ||
| 2882 | #endif | ||
| 2877 | || IsKeypadKey (keysym) /* 0xff80 <= x < 0xffbe */ | 2883 | || IsKeypadKey (keysym) /* 0xff80 <= x < 0xffbe */ |
| 2878 | || IsFunctionKey (keysym)) /* 0xffbe <= x < 0xffe1 */ | 2884 | || IsFunctionKey (keysym)) /* 0xffbe <= x < 0xffe1 */ |
| 2879 | { | 2885 | { |