projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a87f8b
)
spice: input: Fix absolute mouse y coordinates
author
Cole Robinson
<crobinso@redhat.com>
Fri, 21 Mar 2014 18:28:49 +0000
(14:28 -0400)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 24 Mar 2014 07:41:21 +0000
(08:41 +0100)
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>
ui/spice-input.c
patch
|
blob
|
history
diff --git
a/ui/spice-input.c
b/ui/spice-input.c
index 6dab23b75c4b96bf889907cd00ca776fa00b7e24..c342e0dcfb035163e3d67c5b057fd4d230f7f8e1 100644
(file)
--- a/
ui/spice-input.c
+++ b/
ui/spice-input.c
@@
-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();
}