Skip to contentSkip to conversation

spice: input: Fix absolute mouse y coordinates

GIT PULL Applied Gerd Hoffmann 2 participants 3 messages Mar 24, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

Very short spice patch queue, with a single line bugfix for 2.0.

please pull,
Gerd

The following changes since commit 3a87f8b6859e6221b827ab4737779dddb37553ec:

Merge remote-tracking branch 'remotes/afaerber/tags/ppc-for-2.0' into staging (2014-03-20 11:45:38 +0000)

are available in the git repository at:

git://anongit.freedesktop.org/spice/qemu tags/pull-spice-5

for you to fetch changes up to b2c494c3a473adf654144c845e04bebffb05dee0:

spice: input: Fix absolute mouse y coordinates (2014-03-24 08:41:21 +0100)

----------------------------------------------------------------
spice: input: Fix absolute mouse y coordinates

----------------------------------------------------------------
Cole Robinson (1):
spice: input: Fix absolute mouse y coordinates

 ui/spice-input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#1 lore raw

From: Cole Robinson <[email protected]>

Current tablet + spice is unusable. Regressed with the UI input rework.

---
 ui/spice-input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ui/spice-input.c +1 -1
index 6dab23b..c342e0d 100644
@@ -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();
 }
 
Signature · 1 line
1.8.3.1
#2 lore raw
In reply to Gerd Hoffmann
Quoted 11 lines · Gerd Hoffmann

Hi,

Very short spice patch queue, with a single line bugfix for 2.0.

please pull,
Gerd

The following changes since commit 3a87f8b6859e6221b827ab4737779dddb37553ec:

Merge remote-tracking branch 'remotes/afaerber/tags/ppc-for-2.0' into staging (2014-03-20 11:45:38 +0000)

Quoted 8 lines

are available in the git repository at:

git://anongit.freedesktop.org/spice/qemu tags/pull-spice-5

for you to fetch changes up to b2c494c3a473adf654144c845e04bebffb05dee0:

spice: input: Fix absolute mouse y coordinates (2014-03-24 08:41:21 +0100)

Applied, thanks.

-- PMM