input: Rename weston_device_repick() to weston_seat_repick()

Old left-over misnaming.
dev
Kristian Høgsberg 13 years ago
parent 80fb82df3a
commit a71e8b2e4d
  1. 2
      src/compositor.c
  2. 2
      src/compositor.h
  3. 4
      src/input.c

@ -933,7 +933,7 @@ weston_compositor_repick(struct weston_compositor *compositor)
return; return;
wl_list_for_each(seat, &compositor->seat_list, link) wl_list_for_each(seat, &compositor->seat_list, link)
weston_device_repick(seat); weston_seat_repick(seat);
} }
WL_EXPORT void WL_EXPORT void

@ -1017,7 +1017,7 @@ weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap);
void void
weston_seat_init_touch(struct weston_seat *seat); weston_seat_init_touch(struct weston_seat *seat);
void void
weston_device_repick(struct weston_seat *seat); weston_seat_repick(struct weston_seat *seat);
void void
weston_seat_release(struct weston_seat *seat); weston_seat_release(struct weston_seat *seat);

@ -44,7 +44,7 @@ static void unbind_resource(struct wl_resource *resource)
} }
void void
weston_device_repick(struct weston_seat *seat) weston_seat_repick(struct weston_seat *seat)
{ {
const struct wl_pointer_grab_interface *interface; const struct wl_pointer_grab_interface *interface;
struct weston_surface *surface, *focus; 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)) ix, iy, NULL))
weston_output_update_zoom(output, ZOOM_FOCUS_POINTER); weston_output_update_zoom(output, ZOOM_FOCUS_POINTER);
weston_device_repick(seat); weston_seat_repick(seat);
if (seat->sprite) { if (seat->sprite) {
weston_surface_set_position(seat->sprite, weston_surface_set_position(seat->sprite,

Loading…
Cancel
Save