changeset 31053:f4dce44bbbae

Set vo_dwidth/vo_dheight for mouse movements work at least in windowed mode. For fullscreen, vo_screenwidth/vo_screenheight have to be set correctly still.
author reimar
date Sun, 25 Apr 2010 16:48:48 +0000
parents a2525319f373
children 9b5559415f1f
files libvo/vo_sdl.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Sun Apr 25 16:39:39 2010 +0000
+++ b/libvo/vo_sdl.c	Sun Apr 25 16:48:48 2010 +0000
@@ -583,6 +583,8 @@
         priv->surface = newsurface;
         priv->dstwidth = width;
         priv->dstheight = height;
+        vo_dwidth  = width;
+        vo_dheight = height;
 
         setup_surfaces();
     }