diff mbox

[PULL,3/5] spice: fix mouse cursor position

Message ID 1430132826-1121-4-git-send-email-kraxel@redhat.com
State New
Headers show

Commit Message

Gerd Hoffmann April 27, 2015, 11:07 a.m. UTC
From: Marc-André Lureau <marcandre.lureau@gmail.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ui/spice-display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/ui/spice-display.c b/ui/spice-display.c
index 1a64e07..bf66cc9 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);
     }