input: Rename weston_device_repick() to weston_seat_repick()
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 7 May 2013 01:51:21 +0000 (21:51 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 7 May 2013 01:51:21 +0000 (21:51 -0400)
Old left-over misnaming.

src/compositor.c
src/compositor.h
src/input.c

index 4252f37..280faa0 100644 (file)
@@ -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
index 6dc9e63..a295ded 100644 (file)
@@ -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);
index 8bbda85..afcc96c 100644 (file)
@@ -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,