]> Git Repo - qemu.git/blobdiff - hw/hid.c
omap1: convert to memory API (part I)
[qemu.git] / hw / hid.c
index ec066cf2d31d99cd884650f516f63f2c3bfb43a3..03761ab8b8ec591305300e07ead26ca10aaa8f86 100644 (file)
--- 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;
This page took 0.019369 seconds and 4 git commands to generate.