From b4e3f138ed8fa0ae23188a570565670deaf2e372 Mon Sep 17 00:00:00 2001 From: pontscho Date: Wed, 16 Oct 2002 19:45:35 +0000 Subject: [PATCH] fix fullscreen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7759 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index d0505aa383..aa0296e2dc 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -385,7 +385,8 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 vo_x11_xinerama_move(mDisplay,vo_window); #endif } else - XMoveResizeWindow( mDisplay,vo_window,hint.x,hint.y,hint.width,hint.height ); + if ( !(flags&1) ) XMoveResizeWindow( mDisplay,vo_window,hint.x,hint.y,hint.width,hint.height ); + vo_gc = XCreateGC(mDisplay, vo_window, 0L, &xgcv); XFlush(mDisplay);