diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2011-03-11 14:04:10 +0100 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2011-03-11 15:31:27 +0100 |
| commit | b30f8b877ca7b1f27422005310b9e82985d80214 (patch) | |
| tree | e6e2885172a9348c3ad4a30d238e2de792dc765e /python_modules/codegen.py | |
| parent | 5315888a706e9eea30046139cb1054ae63e1cc0e (diff) | |
| download | spice-b30f8b877ca7b1f27422005310b9e82985d80214.tar.gz spice-b30f8b877ca7b1f27422005310b9e82985d80214.tar.xz spice-b30f8b877ca7b1f27422005310b9e82985d80214.zip | |
client: Don't handle hotkeys while sticky alt is active
In some cases rhev-m changes the hotkey for releasing the mouse grab
to ctrl + alt. This makes it impossible to send ctrl + alt + other-key
to the guest, even when using sticky alt.
What happens is:
-press alt until sticky alt activates
-release alt (but recorded state stays pressed due to sticky alt)
-press ctrl
-hotkey code sees ctrl+alt pressed, releases mouse grab
-mouse grab release code does an unpress all -> end of sticky state.
This patch makes it possible to atleast send ctrl + alt + del (or other key)
using sticky alt. Note: even with this patch it is still a bad idea to
use ctrl + alt as hotkey combi.
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions
