protocol: remove absolute coordinates from pointer
This change depens on the Wayland core commit:
"protocol: remove absolute coordinates from pointer".
Remove the absolute coordinates from pointer motion and pointer_focus
events.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 5199622..d6757f0 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -500,8 +500,7 @@
/* parent input interface */
static void
input_handle_motion(void *data, struct wl_input_device *input_device,
- uint32_t time,
- int32_t x, int32_t y, int32_t sx, int32_t sy)
+ uint32_t time, int32_t sx, int32_t sy)
{
struct wayland_input *input = data;
struct wayland_compositor *c = input->compositor;
@@ -533,9 +532,9 @@
static void
input_handle_pointer_focus(void *data,
- struct wl_input_device *input_device,
- uint32_t time, struct wl_surface *surface,
- int32_t x, int32_t y, int32_t sx, int32_t sy)
+ struct wl_input_device *input_device,
+ uint32_t time, struct wl_surface *surface,
+ int32_t sx, int32_t sy)
{
struct wayland_input *input = data;
struct wayland_output *output;