[PATCH 2/3] weston: Add wl_output name event
Jason Ekstrand
jason at jlekstrand.net
Tue Mar 18 17:51:18 PDT 2014
On Mar 16, 2014 10:20 PM, "Quanxian Wang" <quanxian.wang at intel.com> wrote:
>
> Signed-off-by: Quanxian Wang <quanxian.wang at intel.com>
> ---
> src/compositor.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/compositor.c b/src/compositor.c
> index 98a4f6f..f82f771 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -3044,6 +3044,9 @@ bind_output(struct wl_client *client,
> mode->refresh);
> }
>
> + if (version >= 3)
> + wl_output_send_name(resource, output->name);
> +
You need to actually advertise that the compositor sports version 3.
--Jason Ekstrand
> if (version >= 2)
> wl_output_send_done(resource);
> }
> --
> 1.8.1.2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140318/41c68565/attachment-0001.html>
More information about the wayland-devel
mailing list