diff options
author | Cole Robinson <crobinso@redhat.com> | 2012-07-15 10:53:52 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2012-07-15 10:53:52 -0400 |
commit | 8bfad3a2cc1c83e8d0f04f232b0ebe0847fd6bca (patch) | |
tree | d11237ea5cc2f954f268e7e96fbeed9e58da6863 | |
parent | a96a3245fb556dc02ff471c223c7728ea76b6fab (diff) | |
download | virt-manager-8bfad3a2cc1c83e8d0f04f232b0ebe0847fd6bca.tar.gz |
vnc: Default to automatic keyboard grabbing
This is what vinagre and virt-viewer do, and what gtkvnc enables by default.
It has some weird symantics, namely that moving the mouse over the viewer
means alt-tab is only received by the guest. But it's the common mode
of operation, so let's be consistent.
-rw-r--r-- | src/virtManager/console.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtManager/console.py b/src/virtManager/console.py index 167401b6..02fe4f1b 100644 --- a/src/virtManager/console.py +++ b/src/virtManager/console.py @@ -329,7 +329,7 @@ class VNCViewer(Viewer): self.console.refresh_scaling() - self.display.set_keyboard_grab(False) + self.display.set_keyboard_grab(True) self.display.set_pointer_grab(True) self.display.connect("vnc-pointer-grab", self.console.pointer_grabbed) |