Re: [AD] Revenge of the key_shifts troubles. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2007-10-27, David Capello <davidcapello@xxxxxxxxxx> wrote:
> 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.
Committed to 4.2 and 4.3.10plus branches.
Peter