<p dir="ltr"><br>
On Mar 15, 2014 4:57 AM, "Wang, Quanxian" <<a href="mailto:quanxian.wang@intel.com">quanxian.wang@intel.com</a>> wrote:<br>
><br>
> <br>
><br>
> <br>
><br>
> From: Jason Ekstrand [mailto:<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>] <br>
> Sent: Saturday, March 15, 2014 3:54 AM<br>
> To: Wang, Quanxian<br>
> Cc: <a href="mailto:ppaalanen@gmail.com">ppaalanen@gmail.com</a>; <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
><br>
> Subject: Re: [PATCH 2/3] weston:Add wl_output name event<br>
><br>
> <br>
><br>
><br>
> On Mar 13, 2014 9:12 PM, "Quanxian Wang" <<a href="mailto:quanxian.wang@intel.com">quanxian.wang@intel.com</a>> wrote:<br>
> ><br>
> > Signed-off-by: Quanxian Wang <<a href="mailto:quanxian.wang@intel.com">quanxian.wang@intel.com</a>><br>
> > ---<br>
> > src/compositor.c | 3 +++<br>
> > 1 file changed, 3 insertions(+)<br>
> ><br>
> > diff --git a/src/compositor.c b/src/compositor.c<br>
> > index 98a4f6f..8e8964b 100644<br>
> > --- a/src/compositor.c<br>
> > +++ b/src/compositor.c<br>
> > @@ -3045,6 +3045,9 @@ bind_output(struct wl_client *client,<br>
> > }<br>
> ><br>
> > if (version >= 2)<br>
> > + wl_output_send_name(resource, output->name);<br>
><br>
> As with my comment on the protocol, wl_output_send_name should be version 3, not version 2. That should also clear up Bryce's comment.<br>
><br>
> [Wang, Quanxian] if it is 2, patch 3/3 is not needed because currently shell only support version 2. Right?</p>
<p dir="ltr">We should still have patch 3 since weston should always support the latest version of everything.</p>
<p dir="ltr">><br>
> Thanks,<br>
> --Jason Ekstrand<br>
><br>
> > +<br>
> > + if (version >= 2)<br>
> > wl_output_send_done(resource);<br>
> > }<br>
> ><br>
> > --<br>
> > 1.8.1.2<br>
> ><br>
> > _______________________________________________<br>
> > wayland-devel mailing list<br>
> > <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
> > <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a></p>