Commit 64bb1782 authored by Richard M. Stallman's avatar Richard M. Stallman

(XTread_socket): Support extra_keyboard_modifiers.

parent 096fbe81
......@@ -258,6 +258,9 @@ static WINDOWINFO_TYPE windowinfo;
extern int errno;
/* See keyboard.c. */
extern int extra_keyboard_modifiers;
extern Display *XOpenDisplay ();
extern Window XCreateWindow ();
......@@ -2679,7 +2682,10 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
{
KeySym keysym;
char copy_buffer[80];
int modifiers = event.xkey.state;
int modifiers;
event.xkey.state |= extra_keyboard_modifiers;
modifiers = event.xkey.state;
/* Some keyboards generate different characters
depending on the state of the meta key, in an attempt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment