8ca7d29901
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=13
20 lines
1.0 KiB
Diff
20 lines
1.0 KiB
Diff
Index: virt-manager-0.8.0/src/virtManager/details.py
|
|
===================================================================
|
|
--- virt-manager-0.8.0.orig/src/virtManager/details.py
|
|
+++ virt-manager-0.8.0/src/virtManager/details.py
|
|
@@ -205,10 +205,10 @@ class vmmDetails(gobject.GObject):
|
|
self.window.get_widget("console-vnc-viewport").add(self.vncViewer)
|
|
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)
|
|
+ # 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.
|
|
+ self.vncViewer.set_keyboard_grab(False)
|
|
self.vncViewer.set_pointer_grab(True)
|
|
|
|
self.scale_type = self.vm.get_console_scaling()
|