From: Kristian Høgsberg Date: Tue, 7 May 2013 01:51:21 +0000 (-0400) Subject: input: Rename weston_device_repick() to weston_seat_repick() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a71e8b2e4d88dfa86440f6cf3306afaaf5c0cd7f;p=platform%2Fupstream%2Fweston.git input: Rename weston_device_repick() to weston_seat_repick() Old left-over misnaming. --- diff --git a/src/compositor.c b/src/compositor.c index 4252f37..280faa0 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -933,7 +933,7 @@ weston_compositor_repick(struct weston_compositor *compositor) return; wl_list_for_each(seat, &compositor->seat_list, link) - weston_device_repick(seat); + weston_seat_repick(seat); } WL_EXPORT void diff --git a/src/compositor.h b/src/compositor.h index 6dc9e63..a295ded 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -1017,7 +1017,7 @@ weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap); void weston_seat_init_touch(struct weston_seat *seat); void -weston_device_repick(struct weston_seat *seat); +weston_seat_repick(struct weston_seat *seat); void weston_seat_release(struct weston_seat *seat); diff --git a/src/input.c b/src/input.c index 8bbda85..afcc96c 100644 --- a/src/input.c +++ b/src/input.c @@ -44,7 +44,7 @@ static void unbind_resource(struct wl_resource *resource) } void -weston_device_repick(struct weston_seat *seat) +weston_seat_repick(struct weston_seat *seat) { const struct wl_pointer_grab_interface *interface; struct weston_surface *surface, *focus; @@ -680,7 +680,7 @@ move_pointer(struct weston_seat *seat, wl_fixed_t x, wl_fixed_t y) ix, iy, NULL)) weston_output_update_zoom(output, ZOOM_FOCUS_POINTER); - weston_device_repick(seat); + weston_seat_repick(seat); if (seat->sprite) { weston_surface_set_position(seat->sprite,