Search
j0ke.net Open Build Service
>
Projects
>
virtualization
>
virt-manager
> virtman-pointer.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File virtman-pointer.diff of Package virt-manager (Revision 12)
Currently displaying revision
12
,
show latest
diff -Nuar virt-manager-0.5.3.orig/src/virtManager/console.py virt-manager-0.5.3/src/virtManager/console.py --- virt-manager-0.5.3.orig/src/virtManager/console.py 2008-01-10 18:17:51.000000000 -0700 +++ virt-manager-0.5.3/src/virtManager/console.py 2008-04-09 11:02:33.000000000 -0600 @@ -78,13 +78,13 @@ self.window.get_widget("console-vnc-align").add(self.vncViewer) self.vncViewer.realize() self.vncTunnel = None - if self.config.get_console_keygrab() == 2: - self.vncViewer.set_keyboard_grab(True) - self.vncViewer.set_pointer_grab(True) - else: - self.vncViewer.set_keyboard_grab(False) - self.vncViewer.set_pointer_grab(False) - self.vncViewer.set_pointer_local(True) + # change to always set grab flags as False + # setting them to true raises the error of Dom0 screen-saver losing the pointer + # if the pointer is over DomU when screen saver activates + self.vncViewer.set_keyboard_grab(False) + self.vncViewer.set_pointer_grab(False) + # comment set_pointer_local to prevent 2 pointers in vnc viewer + # self.vncViewer.set_pointer_local(True) self.vncViewer.connect("vnc-pointer-grab", self.notify_grabbed) self.vncViewer.connect("vnc-pointer-ungrab", self.notify_ungrabbed)