2010-02-16 17:11:41 +01:00
|
|
|
Index: virt-manager-0.8.1/src/virtManager/console.py
|
2009-08-01 11:46:10 +02:00
|
|
|
===================================================================
|
2010-02-16 17:11:41 +01:00
|
|
|
--- virt-manager-0.8.1.orig/src/virtManager/console.py
|
|
|
|
+++ virt-manager-0.8.1/src/virtManager/console.py
|
2009-08-01 11:46:10 +02:00
|
|
|
@@ -205,10 +205,10 @@ class vmmDetails(gobject.GObject):
|
2009-05-04 18:36:17 +02:00
|
|
|
self.window.get_widget("console-vnc-viewport").add(self.vncViewer)
|
2008-04-12 21:33:47 +02:00
|
|
|
self.vncViewer.realize()
|
|
|
|
self.vncTunnel = None
|
|
|
|
- if self.config.get_console_keygrab() == 2:
|
|
|
|
- self.vncViewer.set_keyboard_grab(True)
|
|
|
|
- else:
|
|
|
|
- self.vncViewer.set_keyboard_grab(False)
|
2009-05-04 18:36:17 +02:00
|
|
|
+ # Always set grab flags to False. Setting them to True introduces a bug where Dom0 ScreenSaver
|
|
|
|
+ # loses the pointer if the pointer is over Dom0 when the ScreenSaver activates.
|
|
|
|
+ # This patch can be removed when testing shows the bug (Gtk?) is fixed.
|
2008-04-12 21:33:47 +02:00
|
|
|
+ self.vncViewer.set_keyboard_grab(False)
|
2009-05-04 18:36:17 +02:00
|
|
|
self.vncViewer.set_pointer_grab(True)
|
2008-02-15 01:43:39 +01:00
|
|
|
|
2009-08-01 11:46:10 +02:00
|
|
|
self.scale_type = self.vm.get_console_scaling()
|