Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5a6816da
Commit
5a6816da
authored
Jun 19, 1996
by
Richard M. Stallman
Browse files
(Vwin32_alt_is_meta): Declared.
(win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required.
parent
8c205c63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/w32inevt.c
src/w32inevt.c
+4
-1
No files found.
src/w32inevt.c
View file @
5a6816da
...
@@ -47,6 +47,9 @@ extern void reinvoke_input_signal (void);
...
@@ -47,6 +47,9 @@ extern void reinvoke_input_signal (void);
/* from dispnew.c */
/* from dispnew.c */
extern
int
change_frame_size
(
FRAME_PTR
,
int
,
int
,
int
,
int
);
extern
int
change_frame_size
(
FRAME_PTR
,
int
,
int
,
int
,
int
);
/* from w32fns.c */
extern
Lisp_Object
Vwin32_alt_is_meta
;
/* Event queue */
/* Event queue */
#define EVENT_QUEUE_SIZE 50
#define EVENT_QUEUE_SIZE 50
static
INPUT_RECORD
event_queue
[
EVENT_QUEUE_SIZE
];
static
INPUT_RECORD
event_queue
[
EVENT_QUEUE_SIZE
];
...
@@ -103,7 +106,7 @@ win32_kbd_mods_to_emacs (DWORD mods)
...
@@ -103,7 +106,7 @@ win32_kbd_mods_to_emacs (DWORD mods)
mods
&=
~
(
RIGHT_ALT_PRESSED
|
LEFT_CTRL_PRESSED
);
mods
&=
~
(
RIGHT_ALT_PRESSED
|
LEFT_CTRL_PRESSED
);
if
(
mods
&
(
RIGHT_ALT_PRESSED
|
LEFT_ALT_PRESSED
))
if
(
mods
&
(
RIGHT_ALT_PRESSED
|
LEFT_ALT_PRESSED
))
retval
=
meta_modifier
;
retval
=
((
NILP
(
Vwin32_alt_is_meta
))
?
alt_modifier
:
meta_modifier
)
;
if
(
mods
&
(
RIGHT_CTRL_PRESSED
|
LEFT_CTRL_PRESSED
))
if
(
mods
&
(
RIGHT_CTRL_PRESSED
|
LEFT_CTRL_PRESSED
))
{
{
...
...
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