winex11drv: Properly report state of the caps-lock and num-lock and scroll-lock keys

Vitaliy Margolen wine-patches at kievinfo.com
Sun Apr 6 00:36:55 CDT 2008


Currently only triggered state is reported. But the buttons themselves are newer down.

There are few cases where triggered state of these keys won't match between Wine
and X. However this will be reset as soon as any other key will be pressed. So it
shouldn't affect a text entry for example.

To fix this problem will require unnecessary complicated code. Which again won't
work in all cases because we don't handle properly key states between focus
losses.

---
 dlls/winex11.drv/keyboard.c |  130 +++++++++++++++----------------------------
 1 files changed, 44 insertions(+), 86 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05db5862d7bed1a3ada3116cca7907492355d712.diff
Type: text/x-patch
Size: 6482 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080405/0aef5559/attachment.bin 


More information about the wine-patches mailing list