<p dir="ltr"><br>
On Mar 16, 2014 10:20 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>
>  clients/desktop-shell.c | 10 +++++++++-<br>
>  clients/window.c        | 10 +++++++++-<br>
>  2 files changed, 18 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c<br>
> index a0c6b6d..cefe936 100644<br>
> --- a/clients/desktop-shell.c<br>
> +++ b/clients/desktop-shell.c<br>
> @@ -1172,6 +1172,13 @@ output_handle_mode(void *data,<br>
>  }<br>
><br>
>  static void<br>
> +output_handle_name(void *data,<br>
> +                  struct wl_output *wl_output,<br>
> +                  const char *name)<br>
> +{<br>
> +}<br>
> +<br>
> +static void<br>
>  output_handle_done(void *data,<br>
>                     struct wl_output *wl_output)<br>
>  {<br>
> @@ -1192,7 +1199,8 @@ static const struct wl_output_listener output_listener = {<br>
>         output_handle_geometry,<br>
>         output_handle_mode,<br>
>         output_handle_done,<br>
> -       output_handle_scale<br>
> +       output_handle_scale,<br>
> +       output_handle_name<br>
>  };</p>
<p dir="ltr">If you we're going to add the listeners, we should actually bind to version 3.</p>
<p dir="ltr">><br>
>  static void<br>
> diff --git a/clients/window.c b/clients/window.c<br>
> index 3136a7d..4946b7a 100644<br>
> --- a/clients/window.c<br>
> +++ b/clients/window.c<br>
> @@ -4714,11 +4714,19 @@ display_handle_mode(void *data,<br>
>         }<br>
>  }<br>
><br>
> +static void<br>
> +display_handle_name(void *data,<br>
> +                   struct wl_output *wl_output,<br>
> +                   const char *name)<br>
> +{<br>
> +}<br>
> +<br>
>  static const struct wl_output_listener output_listener = {<br>
>         display_handle_geometry,<br>
>         display_handle_mode,<br>
>         display_handle_done,<br>
> -       display_handle_scale<br>
> +       display_handle_scale,<br>
> +       display_handle_name<br>
>  };</p>
<p dir="ltr">Same here.</p>
<p dir="ltr">--Jason Ekstrand</p>
<p dir="ltr">><br>
>  static void<br>
> --<br>
> 1.8.1.2<br>
><br>
</p>