Re: [PATCHv2 virt-viewer 03/10] kiosk: open a window on each client monitor

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

 




----- Mensaje original -----
> On Fri, Aug 16, 2013 at 09:47:39PM +0200, Marc-André Lureau wrote:
> > Open a window on each client monitor in fullscreen. If the remote
> > display has less monitors than the client, the extra client monitors
> > will still be used to prevent the user from accessing the windows or
> > desktop bellow, and also to show some status messages when necessary.
> > ---
> >  src/virt-viewer-app.c | 15 +++++++++++++++
> >  1 file changed, 15 insertions(+)
> > 
> > diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> > index 226e3fc..a38d9ab 100644
> > --- a/src/virt-viewer-app.c
> > +++ b/src/virt-viewer-app.c
> > @@ -1262,7 +1262,22 @@ static void
> > virt_viewer_app_usb_failed(VirtViewerSession *session G_GNUC_UNUSED,
> >  static void
> >  virt_viewer_app_set_kiosk(VirtViewerApp *self, gboolean enabled)
> >  {
> > +    int i;
> > +
> 
> This can be moved in the if (enabled) block.
> 
> >      self->priv->kiosk = enabled;
> > +    virt_viewer_app_set_fullscreen(self, enabled);
> 
> Why is it not in the if (enabled) block?

This is a leftover, I'll remove it.

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

_______________________________________________
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