Index: virt-manager-0.8.1/src/virtManager/console.py =================================================================== --- virt-manager-0.8.1.orig/src/virtManager/console.py +++ virt-manager-0.8.1/src/virtManager/console.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()