# HG changeset patch # User rfelker # Date 1041616909 0 # Node ID 68a0f5e7725796e0738e10abaa1314e5842f9fde # Parent 241f40ef5e28ec08f37bf451bf0e478d658d19b6 10l, geometry always returns 1. i think this is the correct fix. diff -r 241f40ef5e28 -r 68a0f5e77257 libvo/vo_xv.c --- a/libvo/vo_xv.c Fri Jan 03 15:30:57 2003 +0000 +++ b/libvo/vo_xv.c Fri Jan 03 18:01:49 2003 +0000 @@ -281,10 +281,8 @@ vo_mouse_autohide=1; - // Quick fix for handling the geometry option. - if(!geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0)) { - vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; - } + vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; + geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0)) vo_dwidth=d_width; vo_dheight=d_height; #ifdef HAVE_XF86VM