[PATCH] virt-manager: gtk-vnc 0.3.8 handles rescaling with compiz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
gtk-vnc 0.3.8 handle compositioning so scaling can be used in that case too.
Cheers,
-- Guido

P.S.: if this is o.k. the spec file needs a bump in the gtk-vnc version too.
Since gtkvnc 0.3.8 uses cairo we don't have to care about composited windows.

diff -r 011b790dfb1a src/virtManager/details.py
--- a/src/virtManager/details.py	Mon Feb 09 22:34:56 2009 -0500
+++ b/src/virtManager/details.py	Thu Feb 19 16:14:14 2009 +0100
@@ -222,9 +222,8 @@
         else:
             self.vncViewer.set_keyboard_grab(False)
         self.vncViewer.set_pointer_grab(True)
-        if not topwin.is_composited():
-            self.vncViewer.set_scaling(True)
-            self.window.get_widget("details-menu-view-scale-display").set_active(True)
+        self.vncViewer.set_scaling(True)
+        self.window.get_widget("details-menu-view-scale-display").set_active(True)
 
         self.vncViewer.connect("vnc-pointer-grab", self.notify_grabbed)
         self.vncViewer.connect("vnc-pointer-ungrab", self.notify_ungrabbed)
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux