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

Pekka Paalanen ppaalanen at gmail.com
Fri Apr 22 07:47:56 UTC 2016


On Thu, 21 Apr 2016 14:30:05 -0700
Bryce Harrington <bryce at osg.samsung.com> wrote:

> On Tue, Apr 19, 2016 at 04:20:32PM +0300, Pekka Paalanen wrote:
> > 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);  
> 
> 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 <bryce at osg.samsung.com>

Pushed:
   ed6014a..fd01ba0  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160422/4924947f/attachment.sig>


More information about the wayland-devel mailing list