Re: [AD] Revenge of the key_shifts troubles.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


2007/10/19, Andrei Ellman <ae-a-alleg@xxxxxxxxxx>:
> ...
> Another quirk I noticed is that if I start the program, the NUM-LOCK,
> SCROLL-LOCK and CAPS-LOCK flags are not registered in the key_shifts
> flag (regardless of whether or not they're on) until at least one key is
> pressed. This happens under both Windows 2000 and Windows 98.

Hello Andrei, here I attached a patch which fix this bug. It's for
"keyboard.c". Some one should test it on Linux, but I don't think that
it'll cause a problem in any platform.

The patch is for the 4.2 branch.

Attachment: keyboard.c.patch
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/