From a71e8b2e4d88dfa86440f6cf3306afaaf5c0cd7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 6 May 2013 21:51:21 -0400 Subject: [PATCH] input: Rename weston_device_repick() to weston_seat_repick() Old left-over misnaming. --- src/compositor.c | 2 +- src/compositor.h | 2 +- src/input.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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, -- 2.7.4