Skip to content
Commit af4fc651 authored by Daniel P. Berrange's avatar Daniel P. Berrange
Browse files

Only trigger grab sequence upon release

GTK-VNC uses the keyboard shortcut ctrl+alt to toggle inside/outside
the VM (aka release pointer). Now Gnome uses ctrl+alt+arrow_key to
switch virtual desktops. So these two shortcuts collide and gtk-vnc
will grab the key presses as soon as ctrl+alt is pressed and toogle
inside/outside the VM, which makes switching desktops impossible.

The solution is to only trigger the grab sequence when the user
releases the key. So if they press Ctrl+alt and then release it,
we trigger, but if they press Ctrl+alt+left-arrow we don't trigger

https://bugzilla.gnome.org/show_bug.cgi?id=685257



Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent 851f3284
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment