On Wed, Dec 06, 2017 at 04:18:25PM +0100, Victor Toso wrote:
> > > --- a/src/vdagent/x11.c
> > > +++ b/src/vdagent/x11.c
> > > @@ -228,18 +228,18 @@ struct vdagent_x11 *vdagent_x11_create(struct
> > > udscs_connection *vdagentd,
> > >      }
> > >      vdagent_x11_send_daemon_guest_xorg_res(x11, 1);
> > >  
> > > -    /* Get net_wm_name, since we are started at the same time as the
> > > wm,
> > > -       sometimes we need to wait a bit for it to show up. */
> > > -    i = 10;
> > > -    x11->net_wm_name = (gchar *)vdagent_x11_get_wm_name();
> > > -    while (!strcmp(x11->net_wm_name, "unknown") && --i > 0) {
> > > +    /* Since we are started at the same time as the wm,
> > > +       sometimes we need to wait a bit for the _NET_WM_NAME to show
> > > up. */
> > > +    const gchar *net_wm_name;
> 
> ... moving this to the top of the block, but I can do both things before
> pushing, no need to send a v5 for this.

Forgot the
Acked-by: Victor Toso <victort...@redhat.com>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to