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

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

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux