weston-info: look for the right wp_presentation
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@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
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 @@
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);