winemac: Don't allow dead-key state to repeat after characters are generated.
commit3dea21ecd2a2bc3950c6ed85634e12135e179c0e
authorKen Thomases <ken@codeweavers.com>
Tue, 10 Sep 2013 03:37:36 +0000 (9 22:37 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 15 Nov 2013 13:11:59 +0000 (15 14:11 +0100)
tree2535097792974dc827d1409ad640a7b87b2bcbf8
parent6cb74a73893fdab45c5264e42b1ec715be86044b
winemac: Don't allow dead-key state to repeat after characters are generated.

It's fairly common in Mac keyboard layouts that, if you type a dead key twice,
the second key press will both produce a non-dead character and also
perpetuate the dead-key state.  For example, with the U.S. layout, Option-E,
E will produce "é" and Option-E, Option-E, E will produce "´é".  Windows
keyboard layouts don't tend to do this.  The second key press produces the
non-dead character and clears the dead-key state.

(cherry picked from commit ae2ce18fd669efb797e11ef0e614be309e83fd3f)
dlls/winemac.drv/keyboard.c