Re: [PATCH virt-viewer] spice: only autoresize once with screen size in fullscreen

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

 



On Thu, Oct 18, 2012 at 10:44:09AM +0200, Marc-André Lureau wrote:
> Hi
> 
> On Thu, Oct 18, 2012 at 10:14 AM, Christophe Fergeau
> <cfergeau@xxxxxxxxxx> wrote:
> >> +    if (self->priv->auto_resize == AUTO_RESIZE_FULLSCREEN) {
> >> +        GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(self));
> >> +        dw = gdk_screen_get_width(screen);
> >> +        dh = gdk_screen_get_height(screen);
> >> +    }
> >> +
> >>      if (virt_viewer_display_get_zoom(VIRT_VIEWER_DISPLAY(self))) {
> >>          zoom = virt_viewer_display_get_zoom_level(VIRT_VIEWER_DISPLAY(self));
> >
> > After setting dw/dh to the size of the screen, we then apply the zoom level
> > to it. Are we guaranteed that zoom will disabled or less than 100 at this
> > point, or should we ignore zoom after going fullscreen?
> 
> Imho, zoom should still be applied.

Even if it's more than 100? Will the behaviour be sane if this happens? I'm
fine with it if things don't break ;)

Christophe

Attachment: pgpN_75j641Sf.pgp
Description: PGP signature


[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