summary refs log tree commit diff stats
path: root/hw/hid.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/hid.c')
-rw-r--r--hw/hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hid.c b/hw/hid.c
index ec066cf2d3..03761ab8b8 100644
--- a/hw/hid.c
+++ b/hw/hid.c
@@ -96,7 +96,7 @@ static void hid_pointer_event_combine(HIDPointerEvent *e, int xyrel,
         /* Windows drivers do not like the 0/0 position and ignore such
          * events. */
         if (!(x1 | y1)) {
-            x1 = 1;
+            e->xdx = 1;
         }
     }
     e->dz += z1;