pointer: Remove output position from coordinates

This is no longer required as the input is mapped to the output in the
compositor.
pull/20/head v0.1.1
Andri Yngvason 2020-02-05 22:34:54 +00:00
parent 10e5c08752
commit a70a2b1bc4
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);