From 121f473fd6201b6a802802e5317de31b7f60fb26 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Wed, 5 Feb 2020 22:34:54 +0000 Subject: [PATCH] pointer: Remove output position from coordinates This is no longer required as the input is mapped to the output in the compositor. --- src/pointer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pointer.c b/src/pointer.c index 2f8de3f..3e33b68 100644 --- a/src/pointer.c +++ b/src/pointer.c @@ -76,8 +76,7 @@ void pointer_set(struct pointer* self, uint32_t x, uint32_t y, if (x != self->current_x || y != self->current_y) zwlr_virtual_pointer_v1_motion_absolute(self->pointer, t, - self->output->x + x, - self->output->y + y, + x, y, self->output->width, self->output->height);