pointer: Remove output position from coordinates

This is no longer required as the input is mapped to the output in the
compositor.
input-output-mapping
Andri Yngvason 2020-02-05 22:34:54 +00:00
parent 5dc5c700f8
commit 121f473fd6
1 changed files with 1 additions and 2 deletions

View File

@ -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) if (x != self->current_x || y != self->current_y)
zwlr_virtual_pointer_v1_motion_absolute(self->pointer, t, zwlr_virtual_pointer_v1_motion_absolute(self->pointer, t,
self->output->x + x, x, y,
self->output->y + y,
self->output->width, self->output->width,
self->output->height); self->output->height);