[Bug 1990] modifier keys not released when switching desktop

Wine Bugs wine-bugs at winehq.org
Thu Mar 30 22:10:41 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=1990


vitaliy at kievinfo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wine-bugs at winehq.org
         AssignedTo|wine-bugs at winehq.org        |vitaliy at kievinfo.com
            Version|20040121                    |CVS




------- Additional Comments From vitaliy at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list