On Tue, Apr 19, 2016 at 04:20:32PM +0300, Pekka Paalanen wrote:
> From: Pekka Paalanen <[email protected]>
> 
> Patch b00c79b587a4903df576008a64a49f851fed234c forgot to update the
> global interface name to look for. Fix it.
> 
> This makes weston-info report the presentation clock again.
> 
> Signed-off-by: Pekka Paalanen <[email protected]>
> ---
>  clients/weston-info.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/clients/weston-info.c b/clients/weston-info.c
> index aa81816..c4f7660 100644
> --- a/clients/weston-info.c
> +++ b/clients/weston-info.c
> @@ -662,7 +662,7 @@ global_handler(void *data, struct wl_registry *registry, 
> uint32_t id,
>               add_shm_info(info, id, version);
>       else if (!strcmp(interface, "wl_output"))
>               add_output_info(info, id, version);
> -     else if (!strcmp(interface, "presentation"))
> +     else if (!strcmp(interface, wp_presentation_interface.name))
>               add_presentation_info(info, id, version);
>       else
>               add_global_info(info, id, interface, version);

Yep

clients/weston-info.c:                else if (!strcmp(interface, 
"presentation"))
clients/presentation-shm.c:           } else if (strcmp(interface, 
wp_presentation_interface.name) == 0) {
tests/presentation-test.c:              if (strcmp(g->interface, 
wp_presentation_interface.name))

Reviewed-by: Bryce Harrington <[email protected]>

> -- 
> 2.7.3
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to