summaryrefslogtreecommitdiffstats
path: root/python_modules/codegen.py
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2011-05-26 17:20:19 +0300
committerYonit Halperin <yhalperi@redhat.com>2011-06-14 10:08:32 +0300
commit4f0e0ac7122e5eecdb4094dd71db8f621e657d08 (patch)
tree7b15303e2810fc275b9106a46da8bf8c842f38c4 /python_modules/codegen.py
parent529dc40dc3e86d9dffa6ea537b425bba2bb3937a (diff)
downloadspice-4f0e0ac7122e5eecdb4094dd71db8f621e657d08.tar.gz
spice-4f0e0ac7122e5eecdb4094dd71db8f621e657d08.tar.xz
spice-4f0e0ac7122e5eecdb4094dd71db8f621e657d08.zip
client: fix for redundant shift+f11 RHBZ #674532
After shift+F11, both in Windows 7 and xp clients, WM_KEYUP events were missing for SHIFT and F11. For F11 it was less important since unpress_all was preformed for all keys. However, we perform sync for all the keyboard modifiers and the GetKeyboardState returns "down" for shift. In windows7 client, we sometimes received afterwards a F11 KEYDOWN event repetition, and this caused SHIFT+F11 to be called again. Not performing hiding of the windows while changing client resolutions, solved the problem of missing events, and I don't see any difference in how spice looks while toggling to full screen. Using GetAsyncKeyState, returns "UP" for shift in windows 7, and helps avoid performing shift+f11 again, if there is an F11 repetition before we receive the KEYUP event for shift.
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions