HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c27f1e0
)
(w32_read_socket): If the dead key was produced using
author
Richard M. Stallman
<rms@gnu.org>
Tue, 4 Jun 1996 23:24:46 +0000
(23:24 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 4 Jun 1996 23:24:46 +0000
(23:24 +0000)
AltGr and has a valid AltGr scan code, it's a valid key and
should not be discarded.
src/w32term.c
patch
|
blob
|
blame
|
history
diff --git
a/src/w32term.c
b/src/w32term.c
index
849d369
..
350e076
100644
(file)
--- a/
src/w32term.c
+++ b/
src/w32term.c
@@
-2480,8
+2480,12
@@
w32_read_socket (sd, bufp, numchars, waitp, expected)
add = 1;
}
- /* Throw dead keys away. */
- if (is_dead_key (msg.msg.wParam))
+ /* Throw dead keys away. However, be sure not to
+ throw away the dead key if it was produced using
+ AltGr and there is a valid AltGr scan code for
+ this key. */
+ if (is_dead_key (msg.msg.wParam)
+ && !((VkKeyScan (bufp->code) & 0xff00) == 0x600))
break;
bufp += add;