aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2015-03-24 17:50:11 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-04-27 12:47:04 +0200
commitd0df04a1569c75f6442123fdda0b2e9aadc3fcc7 (patch)
tree5fc38c19db0d07b36d5ea8be0eea804b4a92c183
parentc1d37cd353be3ea4c5773fc227ba8459c1f20470 (diff)
spice: fix mouse cursor position
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--ui/spice-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 1a64e07cc1..bf66cc92f9 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -734,7 +734,7 @@ static void display_mouse_set(DisplayChangeListener *dcl,
qemu_mutex_lock(&ssd->lock);
ssd->ptr_x = x;
- ssd->ptr_y = x;
+ ssd->ptr_y = y;
if (ssd->ptr_move) {
g_free(ssd->ptr_move);
}