Index: libvo/vo_kva.c
===================================================================
--- libvo/vo_kva.c	(revision 36900)
+++ libvo/vo_kva.c	(working copy)
@@ -479,6 +573,32 @@

         return (MRESULT)TRUE;

+    case WM_MOUSEMOVE:
+        {
+        int x = SHORT1FROMMP(mp1);
+        int y = SHORT2FROMMP(mp1);
+
+        RECTL rclDst;
+
+        // get a current movie area
+        kvaAdjustDstRect(&m_int.kvas.rclSrcRect, &rclDst);
+
+        // offset to movie area
+        x -= rclDst.xLeft;
+        y -= rclDst.yBottom;
+
+        // rescale to image coordinate
+        x = x * vo_dwidth / (rclDst.xRight - rclDst.xLeft);
+        y = y * vo_dheight / (rclDst.yTop - rclDst.yBottom);
+
+        // invert Y
+        y = (vo_dheight - 1) - y;
+
+        vo_mouse_movement(x, y);
+
+        break;
+        }
+
     case WM_PAINT:
         {
         HPS     hps;
