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);