[PATCH v2 weston 3/4] zoom: Rename zoom_area_center_from_pointer to zoom_area_center_from_point

Bryce Harrington bryce at osg.samsung.com
Wed Jul 29 19:46:28 PDT 2015


On Thu, Jul 23, 2015 at 05:53:40PM -0700, Bryce Harrington wrote:
> On Thu, Jul 23, 2015 at 02:55:14PM -0500, Derek Foreman wrote:
> > It doesn't do anything with a pointer, and zoom can be initiated by the
> > keyboard, so the name was a little confusing.
> > 
> > Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
> 
> Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

Thanks, pushed:
To ssh://git.freedesktop.org/git/wayland/weston
   a36eb50..859b52b  master -> master

> > ---
> >  src/zoom.c | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/src/zoom.c b/src/zoom.c
> > index 39515d4..18fc7ca 100644
> > --- a/src/zoom.c
> > +++ b/src/zoom.c
> > @@ -70,8 +70,8 @@ weston_zoom_pick_seat(struct weston_compositor *compositor)
> >  }
> >  
> >  static void
> > -zoom_area_center_from_pointer(struct weston_output *output,
> > -				wl_fixed_t *x, wl_fixed_t *y)
> > +zoom_area_center_from_point(struct weston_output *output,
> > +			    wl_fixed_t *x, wl_fixed_t *y)
> >  {
> >  	float level = output->zoom.spring_z.current;
> >  	wl_fixed_t offset_x = wl_fixed_from_int(output->x);
> > @@ -97,7 +97,7 @@ weston_output_update_zoom_transform(struct weston_output *output)
> >  	    level == 0.0f)
> >  		return;
> >  
> > -	zoom_area_center_from_pointer(output, &x, &y);
> > +	zoom_area_center_from_point(output, &x, &y);
> >  
> >  	global_x = wl_fixed_to_double(x);
> >  	global_y = wl_fixed_to_double(y);
> > -- 
> > 2.1.4
> > 
> > _______________________________________________
> > wayland-devel mailing list
> > wayland-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list