Bug#317010: breaks CapsLock in ARAnyM
Petr Stehlik
pstehlik at sophics.cz
Fri Sep 22 08:37:34 UTC 2006
This patch breaks handling of CapsLock in ARAnyM.
I like this fix of CapsLock and NumLock keys (since ARAnyM has to
contain a code that emulates the proper behaviour of the CapsLock key)
but this should have been merged upstream first. Now it breaks the
cross-platform nature of libSDL since application written for this
library behaves differently on Debian than on other systems. Please
consider that.
BTW, this fix also breaks the GetModState() for CAPS - I haven't had
time to look into it yet but it seems to suffer from a race condition of
some kind - normally the GetModState() never shows the CAPS active
(which is a bug I think) but if I pressed the CapsLock twice quickly or
something like that the ModState started reporting the CAPS as always on.
I am going to upload a new version of ARAnyM that contains the
"SDL_DISABLE_LOCK_KEYS" workaround for this patch. Took me quite some
time to figure out that Debian caused this problem (was debugging
MS-Windows for weeks to find the cause). Pity you didn't push it
upstream first :-/
Petr
More information about the Pkg-sdl-maintainers
mailing list