weston-info: look for the right wp_presentation
Patch b00c79b587 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>
This commit is contained in:
@@ -662,7 +662,7 @@ global_handler(void *data, struct wl_registry *registry, uint32_t id,
|
|||||||
add_shm_info(info, id, version);
|
add_shm_info(info, id, version);
|
||||||
else if (!strcmp(interface, "wl_output"))
|
else if (!strcmp(interface, "wl_output"))
|
||||||
add_output_info(info, id, version);
|
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);
|
add_presentation_info(info, id, version);
|
||||||
else
|
else
|
||||||
add_global_info(info, id, interface, version);
|
add_global_info(info, id, interface, version);
|
||||||
|
|||||||
Reference in New Issue
Block a user