From 7da954855a2b2dacd1e799c80bc6a2bd55a62406 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 25 Apr 2010 16:48:48 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31095 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_sdl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libvo') diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index dbf634934e..0d3e8b9887 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -583,6 +583,8 @@ static void set_video_mode(int width, int height, int bpp, uint32_t sdlflags) priv->surface = newsurface; priv->dstwidth = width; priv->dstheight = height; + vo_dwidth = width; + vo_dheight = height; setup_surfaces(); } -- cgit v1.2.3