# HG changeset patch # User arpi # Date 1041599902 0 # Node ID a9170a2ab0a4b6c415e0f64c3622fd09b23bcfa0 # Parent 8fd62b14cbc0082d1a22b690555392b3e2cd247c -geometry support patch by Henk diff -r 8fd62b14cbc0 -r a9170a2ab0a4 libvo/vo_xv.c --- a/libvo/vo_xv.c Fri Jan 03 12:53:48 2003 +0000 +++ b/libvo/vo_xv.c Fri Jan 03 13:18:22 2003 +0000 @@ -281,7 +281,10 @@ vo_mouse_autohide=1; - vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2; + // 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_dwidth=d_width; vo_dheight=d_height; #ifdef HAVE_XF86VM