Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
64bb1782
Commit
64bb1782
authored
Feb 07, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(XTread_socket): Support extra_keyboard_modifiers.
parent
096fbe81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/xterm.c
src/xterm.c
+7
-1
No files found.
src/xterm.c
View file @
64bb1782
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment