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
parent
10e5c08752
commit
a70a2b1bc4
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue