20 lines
830 B
Diff
20 lines
830 B
Diff
|
Subject: console: vnc: Don't force keyboard grab before widget is realized
|
||
|
From: Cole Robinson crobinso@redhat.com Sat May 31 19:40:18 2014 -0400
|
||
|
Date: Sat May 31 19:40:18 2014 -0400:
|
||
|
Git: d17cf4a22352659bc22e012286380b6481faad89
|
||
|
|
||
|
Causes gtk warnings on the console, and the code was mistaken anyways
|
||
|
|
||
|
Index: virt-manager-1.0.1/virtManager/console.py
|
||
|
===================================================================
|
||
|
--- virt-manager-1.0.1.orig/virtManager/console.py
|
||
|
+++ virt-manager-1.0.1/virtManager/console.py
|
||
|
@@ -466,7 +466,6 @@ class VNCViewer(Viewer):
|
||
|
|
||
|
def set_grab_keyboard(self):
|
||
|
self.display.set_keyboard_grab(self.config.get_grab_keyboard())
|
||
|
- self.display.force_grab(self.config.get_grab_keyboard())
|
||
|
|
||
|
def _desktop_resize(self, src_ignore, w, h):
|
||
|
self.desktop_resolution = (w, h)
|