Index: vo_xv.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v retrieving revision 1.134 diff -u -b -B -r1.134 vo_xv.c --- vo_xv.c 19 Jan 2003 16:52:00 -0000 1.134 +++ vo_xv.c 29 Jan 2003 00:05:31 -0000 @@ -386,12 +386,14 @@ vo_x11_xinerama_move(mDisplay,vo_window); #endif } else - if ( !(flags&1) ) XMoveResizeWindow( mDisplay,vo_window,hint.x,hint.y,hint.width,hint.height ); + // vo_fs set means we were already at fullscreen + if ( !vo_fs ) XMoveResizeWindow( mDisplay,vo_window,hint.x,hint.y,hint.width,hint.height ); vo_x11_sizehint( hint.x, hint.y, hint.width, hint.height,0 ); if ( vo_gc != None ) XFreeGC( mDisplay,vo_gc ); vo_gc = XCreateGC(mDisplay, vo_window, 0L, &xgcv); + XClearWindow(mDisplay, vo_window); XFlush(mDisplay); XSync(mDisplay, False); #ifdef HAVE_XF86VM @@ -434,7 +436,7 @@ #endif aspect(&vo_dwidth,&vo_dheight,A_NOZOOM); - if ( ( flags&1 )&&( WinID <= 0 ) ) + if ( (( flags&1 )&&( WinID <= 0 )) || vo_fs ) { aspect(&vo_dwidth,&vo_dheight,A_ZOOM); drwX=( vo_screenwidth - (vo_dwidth > vo_screenwidth?vo_screenwidth:vo_dwidth) ) / 2;