[gnome-boxes] spice-display: Don't set 'only-downscale' prop on display



commit 456f3771cc761d06288e67d42f4cdacb1fe1b3a0
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Oct 18 17:36:29 2014 +0100

    spice-display: Don't set 'only-downscale' prop on display
    
    Setting this only makes the display very tiny on hidpi screens when no
    autoresolution is in effect (e.g grub screen or guests with no
    qxl/agent). Lets not ask spice to only downscale but rather always scale
    the display to fit in its window.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733978

 src/spice-display.vala |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/spice-display.vala b/src/spice-display.vala
index da97e5a..e6f4466 100644
--- a/src/spice-display.vala
+++ b/src/spice-display.vala
@@ -135,8 +135,6 @@ private class Boxes.SpiceDisplay: Boxes.Display {
             });
             config.sync_properties (this, display_sync_properties);
             display.scaling = true;
-            if (display.get_class ().find_property ("only-downscale") != null)
-                display.set ("only-downscale", true);
 
             displays.replace (n, display);
         }


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