This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Ctrl got stuck
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 31 May 2005 19:00:10 +0200 (MEST)
- Subject: Re: Ctrl got stuck
- References: <23063.1117549299@www70.gmx.net>
- Reply-to: cygwin-xfree at cygwin dot com
On Tue, 31 May 2005, Tobias Polzin wrote:
> Hi,
>
> first of all: Thanks for the great cygwin-xfree!
>
> I have one major problem with it: Occasionly (approx every 2 hours,
> sometimes every 5 minutes) it feels like the CTRL-modifier got stuck. I used
> "cat" and "emacs" to see, that in this situations pressing an "a" is
> interpreted as "CTRL-a". If I press "CTRL", the situation is back to normal,
> but pressing "AltGr-something" does not give the desired result and makes
> CTRL got stuck again. Using the funny "Show Cursor" option of the
> X-tray-icon repairs the behaviour... for some minutes or hours. Also
> starting a new xterm -window and closing it repaired the behaviour recently.
>
> I conjecture that it has something to do with AltGr. As I use the german
> keyboard-layout, I have to use AltGr a lot of times while programming C++
It seems to appear more often under high load. But unfortunatly there is not
much we can do about it.
Windows reports alt-gr as simultanious presses of ctrl and alt and we have to
detect whether it is alt-gr or the keys are really pressed together. Under heavy
load the timeouts (and timestamps) of the events may differ between press and
release events. That way you get a control press and an alt-gr release so control
gets stuck.
the only solution is making the detection more robust.
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723