summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-05-06 21:51:21 -0400
committerKristian Høgsberg <krh@bitplanet.net>2013-05-06 21:51:21 -0400
commita71e8b2e4d88dfa86440f6cf3306afaaf5c0cd7f (patch)
tree24b2f39ee5f989edf84d6511b6263a24545f9f9b /src
parent80fb82df3a9257316bc0bf512069a0e3a971ca3c (diff)
input: Rename weston_device_repick() to weston_seat_repick()
Old left-over misnaming.
Diffstat (limited to 'src')
-rw-r--r--src/compositor.c2
-rw-r--r--src/compositor.h2
-rw-r--r--src/input.c4
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,