input: Rename wl_pointer to weston_pointer
This is now a weston object.
diff --git a/src/data-device.c b/src/data-device.c
index a2856b6..2a3eb99 100644
--- a/src/data-device.c
+++ b/src/data-device.c
@@ -165,7 +165,7 @@
}
static void
-drag_grab_focus(struct wl_pointer_grab *grab,
+drag_grab_focus(struct weston_pointer_grab *grab,
struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y)
{
struct wl_seat *seat = container_of(grab, struct wl_seat, drag_grab);
@@ -211,7 +211,7 @@
}
static void
-drag_grab_motion(struct wl_pointer_grab *grab,
+drag_grab_motion(struct weston_pointer_grab *grab,
uint32_t time, wl_fixed_t x, wl_fixed_t y)
{
struct wl_seat *seat = container_of(grab, struct wl_seat, drag_grab);
@@ -233,14 +233,14 @@
drag_grab_focus(&seat->drag_grab, NULL,
wl_fixed_from_int(0), wl_fixed_from_int(0));
- wl_pointer_end_grab(seat->pointer);
+ weston_pointer_end_grab(seat->pointer);
seat->drag_data_source = NULL;
seat->drag_client = NULL;
}
static void
-drag_grab_button(struct wl_pointer_grab *grab,
+drag_grab_button(struct weston_pointer_grab *grab,
uint32_t time, uint32_t button, uint32_t state_w)
{
struct wl_seat *seat = container_of(grab, struct wl_seat, drag_grab);
@@ -259,7 +259,7 @@
}
}
-static const struct wl_pointer_grab_interface drag_grab_interface = {
+static const struct weston_pointer_grab_interface drag_grab_interface = {
drag_grab_focus,
drag_grab_motion,
drag_grab_button,
@@ -317,9 +317,9 @@
wl_signal_emit(&seat->drag_icon_signal, icon_resource);
}
- wl_pointer_set_focus(seat->pointer, NULL,
- wl_fixed_from_int(0), wl_fixed_from_int(0));
- wl_pointer_start_grab(seat->pointer, &seat->drag_grab);
+ weston_pointer_set_focus(seat->pointer, NULL,
+ wl_fixed_from_int(0), wl_fixed_from_int(0));
+ weston_pointer_start_grab(seat->pointer, &seat->drag_grab);
}
static void