This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Keyboard Handling
- To: Alexander Gottwald <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>
- Subject: Re: Keyboard Handling
- From: Holger Vogt <hl212vo at uni-duisburg dot de>
- Date: Sun, 22 Apr 2001 11:21:39 +0200
- CC: XFree86/Cygwin Mailing list <cygwin-xfree at sources dot redhat dot com>
- References: <Pine.LNX.4.21.0104211950050.7564-200000@lupus.ago.vpn>
- Reply-To: hl212vo at uni-duisburg dot de
Hi Alexander,
the test looks good!
Within xterm and an application (xcircuit) all keys show up as they should do
with my German keyboard.
Holger
Alexander Gottwald schrieb:
> Hi,
>
> I've tried some code to handle AltGr more correctly.
> I attached a patch to the winwndproc.c from Apr-14 Sourceball
> which fixes at least the press of AltGr (the release is not done yet).
>
> It uses mainly the good fact, that the fake Control_L- and Alt_R-message
> have the same timestamp. I just cache the Control_L press, set a very
> short timestamp and
> 1) drop the Control_L if the coresponding Alt_R message arrives
> 2) send the Control_L if
> a) another key (not Alt_Gr) was pressed
> b) the timeout (currently 1ms) expires
>
> The current code still needs to be cleaned up, but hope you can already
> give some hints on possible error and mistakes.
>
> I will make a test version available on http://www.gotti.org/ [1].
>
> bye
> ago
>
> [1] http://www-usercgi.tu-chemnitz.de/~goal/xfree
> --
> Alexander.Gottwald@informatik.tu-chemnitz.de
> http://www.gotti.org
> +49 3725 3498080
>
> ------------------------------------------------------------------------
> Name: winwndproc.diff
> winwndproc.diff Type: Plain Text (TEXT/PLAIN)
> Encoding: BASE64