# HG changeset patch # User reimar # Date 1272214128 0 # Node ID f4dce44bbbae73b90d5b6e259e425a0b487b69a3 # Parent a2525319f3736268276ce256e34bec29dcca8f8e 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. diff -r a2525319f373 -r f4dce44bbbae libvo/vo_sdl.c --- 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(); }