mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Gerd Hoffmann
parent
3a87f8b685
commit
b2c494c3a4
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user