[virt-tools-list] [virt-viewer] [PATCH] gtk2: Do not call _make_sizable() on map events

Fabiano Fidêncio fidencio at redhat.com
Wed Oct 29 13:12:34 UTC 2014


This commit partially reverts commit eaaa4f5106a9, which was done to fix
un-shrinkable displays on Windows client.
After the rowork done to create windows on demand, not at startup, this
commit introduced a regression on gtk2 client, making the client open the
window with a very small size. Partially reverting the commit in question
we have the very small window problem solved and no regressions on
Windows client.

https://bugzilla.redhat.com/show_bug.cgi?id=1157764
---
 src/virt-viewer-display.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/virt-viewer-display.c b/src/virt-viewer-display.c
index e6bc108..40b06f9 100644
--- a/src/virt-viewer-display.c
+++ b/src/virt-viewer-display.c
@@ -459,8 +459,6 @@ virt_viewer_display_map(GtkWidget *widget)
 
     if (!self->priv->mapped_once)
         virt_viewer_display_queue_resize(self);
-    else
-        virt_viewer_display_make_resizable(self);
 
     self->priv->mapped_once = TRUE;
 }
-- 
2.1.0




More information about the virt-tools-list mailing list