diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-25 16:48:48 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-25 16:48:48 +0000 |
commit | 7da954855a2b2dacd1e799c80bc6a2bd55a62406 (patch) | |
tree | 43f46db0cae68a9dd19bd3d41fc2ae9336c890b5 /libvo | |
parent | 12c9fa73f383d34cd1b100715f0af8f596a6b5ba (diff) | |
download | mpv-7da954855a2b2dacd1e799c80bc6a2bd55a62406.tar.bz2 mpv-7da954855a2b2dacd1e799c80bc6a2bd55a62406.tar.xz |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_sdl.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } |