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>
dev
Pekka Paalanen 9 years ago
parent ed6014a9e4
commit 13a26e02e5
  1. 2
      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);

Loading…
Cancel
Save