[PATCH weston] weston-info: look for the right wp_presentation

Pekka Paalanen ppaalanen at gmail.com
Tue Apr 19 13:20:32 UTC 2016


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

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 <pekka.paalanen at collabora.co.uk>
---
 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);
-- 
2.7.3



More information about the wayland-devel mailing list