diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32inevt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/w32inevt.c b/src/w32inevt.c index f7565affb94..2549d1609dc 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c | |||
| @@ -47,6 +47,9 @@ extern void reinvoke_input_signal (void); | |||
| 47 | /* from dispnew.c */ | 47 | /* from dispnew.c */ |
| 48 | extern int change_frame_size (FRAME_PTR, int, int, int, int); | 48 | extern int change_frame_size (FRAME_PTR, int, int, int, int); |
| 49 | 49 | ||
| 50 | /* from w32fns.c */ | ||
| 51 | extern Lisp_Object Vwin32_alt_is_meta; | ||
| 52 | |||
| 50 | /* Event queue */ | 53 | /* Event queue */ |
| 51 | #define EVENT_QUEUE_SIZE 50 | 54 | #define EVENT_QUEUE_SIZE 50 |
| 52 | static INPUT_RECORD event_queue[EVENT_QUEUE_SIZE]; | 55 | static INPUT_RECORD event_queue[EVENT_QUEUE_SIZE]; |
| @@ -103,7 +106,7 @@ win32_kbd_mods_to_emacs (DWORD mods) | |||
| 103 | mods &= ~ (RIGHT_ALT_PRESSED | LEFT_CTRL_PRESSED); | 106 | mods &= ~ (RIGHT_ALT_PRESSED | LEFT_CTRL_PRESSED); |
| 104 | 107 | ||
| 105 | if (mods & (RIGHT_ALT_PRESSED | LEFT_ALT_PRESSED)) | 108 | if (mods & (RIGHT_ALT_PRESSED | LEFT_ALT_PRESSED)) |
| 106 | retval = meta_modifier; | 109 | retval = ((NILP (Vwin32_alt_is_meta)) ? alt_modifier : meta_modifier); |
| 107 | 110 | ||
| 108 | if (mods & (RIGHT_CTRL_PRESSED | LEFT_CTRL_PRESSED)) | 111 | if (mods & (RIGHT_CTRL_PRESSED | LEFT_CTRL_PRESSED)) |
| 109 | { | 112 | { |