http://bugs.winehq.org/show_bug.cgi?id=1990
vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org AssignedTo|wine-bugs@winehq.org |vitaliy@kievinfo.com Version|20040121 |CVS
------- Additional Comments From vitaliy@kievinfo.com 2006-30-03 22:10 ------- It is possible to fix and it's a sami-simple fix. When wine gets focus back, or when mouse enters it's window, X sends notify with the current state of all the keys in the system. We process that event in X11DRV_KeymapNotify. But we only look at modifier keys and not all the keys. That's one problem. Second problem is that in mouse.c several places query modifier keys' state and directly set key_state_table. This stops KEYBOARD_UpdateOneState sending any keyboard events for modifier keys.
I'm trying to fix this but now I have enother problem - modifier keys have left and right scan codes and vkeys. We need to handle those as well. Or we'll end up with left or right key being "stuck" in the same way as it is now.