spice: input: Fix absolute mouse y coordinates
Current tablet + spice is unusable. Regressed with the UI input rework. Signed-off-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
3a87f8b685
commit
b2c494c3a4
@ -176,7 +176,7 @@ static void tablet_position(SpiceTabletInstance* sin, int x, int y,
|
||||
|
||||
spice_update_buttons(pointer, 0, buttons_state);
|
||||
qemu_input_queue_abs(NULL, INPUT_AXIS_X, x, pointer->width);
|
||||
qemu_input_queue_abs(NULL, INPUT_AXIS_Y, y, pointer->width);
|
||||
qemu_input_queue_abs(NULL, INPUT_AXIS_Y, y, pointer->height);
|
||||
qemu_input_event_sync();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user