[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 0afb8fa: Fix handling of 1st keystroke on MS-Window
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 0afb8fa: Fix handling of 1st keystroke on MS-Windows |
Date: |
Sun, 02 Aug 2015 14:41:11 +0000 |
branch: master
commit 0afb8fab99951262e81d6095302de4c84d7e8847
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix handling of 1st keystroke on MS-Windows
* src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
This is needed to correctly handle the session's first keystroke,
if it has any modifiers. (Bug#19994)
---
src/w32fns.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/w32fns.c b/src/w32fns.c
index 1c72974..31d23c4 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -9442,6 +9442,8 @@ globals_of_w32fns (void)
else
w32_unicode_gui = 0;
+ after_deadkey = -1;
+
/* MessageBox does not work without this when linked to comctl32.dll 6.0. */
InitCommonControls ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 0afb8fa: Fix handling of 1st keystroke on MS-Windows,
Eli Zaretskii <=