Index: libvo/vo_kva.c
===================================================================
--- libvo/vo_kva.c	(revision 36903)
+++ libvo/vo_kva.c	(working copy)
@@ -466,6 +560,20 @@
         return (MRESULT)TRUE;
         }

+    case WM_SIZE:
+        {
+        RECTL rclDst;
+
+        // get a current movie area
+        kvaAdjustDstRect(&m_int.kvas.rclSrcRect, &rclDst);
+
+        // set a movie size
+        vo_dwidth = rclDst.xRight - rclDst.xLeft;
+        vo_dheight = rclDst.yTop - rclDst.yBottom;
+
+        return 0;
+        }
+
     case WM_BUTTON1DOWN:
     case WM_BUTTON3DOWN:
     case WM_BUTTON2DOWN:
@@ -479,6 +587,28 @@

         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;
+
+        // invert Y
+        y = (vo_dheight - 1) - y;
+
+        vo_mouse_movement(x, y);
+
+        break;
+        }
+
     case WM_PAINT:
         {
         HPS     hps;
