xserver-multidpi/hw
Oliver Schmidt b8b0b841a0 hw/xwin: Fix AltGr key sometimes firing an additional Ctrl-L key
I also had problems with the AltGr key. These could reliably
be reproduced by holding the AltGr for some seconds (causing
Windows generating auto repeat events)

I discovered that the mechanism in winkeybd.c function
winIsFakeCtrl_L had a problem if PeekMessage cannot obtain
the next Alt_R message because it is not there yet.

I prepared a patch that remembers the last Ctrl_L event and
reacts on a later Alt_R.

It was also necessary to alter the order in winWindowProc() in
winwndproc.c: the invocation of winIsFakeCtrl_L had to be done
before discarding auto-repeated key presses, as winIsFakeCtrl_L()
now has an internal state which must be updated by all key events.

Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2012-01-26 14:40:28 +00:00
..
dmx dmx: force -fno-strict-aliasing for xinput example 2011-12-19 22:27:17 -08:00
kdrive Revert "dix: Pull client-is-local flag up to the ClientRec" 2012-01-12 12:09:59 -08:00
vfb Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
xfree86 int10: Fix unmapping of the BIOS scratch area 2012-01-25 09:26:23 -08:00
xnest Fix builds of Xnest & Xephyr with Solaris Studio compilers 2011-12-05 14:33:00 -08:00
xquartz Revert "dix: Pull client-is-local flag up to the ClientRec" 2012-01-12 12:09:59 -08:00
xwin hw/xwin: Fix AltGr key sometimes firing an additional Ctrl-L key 2012-01-26 14:40:28 +00:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00