Re: [PATCH virt-viewer] Do not resize window to minimum when toggling auto-resize

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

 



On Tue, Oct 16, 2012 at 08:42:14PM +0200, Marc-André Lureau wrote:
> The virt_viewer_display_idle() will queue a resize event that will
> result in display size requisition of 50x50. If we later resize the
> window to 1x1 in virt_viewer_window_resize() we end up with a tiny
> window.
> 
> It is legitimate not to force that 1x1 window resize when toggling the
> option. After the rest of the logic in virt_viewer_window_resize(), if
> the remote desktop ends up being resize, that will trigger another
> virt_viewer_set_desktop_size() and finally change the window size
> appropriately.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=856610
> ---
>  src/virt-viewer-window.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

ACK

Thanks for investigating this.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[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