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
This commit is contained in:
reimar 2010-04-25 16:48:48 +00:00
parent 12c9fa73f3
commit 7da954855a
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}