GNOME Bugzilla – Bug 107261
Need SPI_KEYMASK_NUMLOCK
Last modified: 2004-12-22 21:47:04 UTC
We need some way to refer to "virtual modfiers" such as NumLock, since on some keyboards NumLock is "MOD2" and on others it seems to be "MOD3". At the moment the workaround is to listen for both and assume that one or the other is NumLock, but that will clearly cause problems if the "other" modifier is actually used on the keyboard in question.
well, relatively easy fix... I am marking it easy-fix so we don't entirely ignore it.
this is blocking some Java work/workarounds, so raising the prio.
Fixed in CVS: clients can now register for key events with mask SPI_KEYMASK_NUMLOCK, and can check for the equivalent bit in the keyboard:modifiers event detail return values.