Commit 7e797bdb authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(w32_read_socket): If the dead key was produced using

AltGr and has a valid AltGr scan code, it's a valid key and
should not be discarded.
parent c27f1e01
......@@ -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))
bufp += add;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment