diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-16 19:45:35 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-16 19:45:35 +0000 |
commit | b4e3f138ed8fa0ae23188a570565670deaf2e372 (patch) | |
tree | 1c25ddb9bf56eb5d0bd1f1652ad44787066cb031 /libvo/vo_xv.c | |
parent | 9214ce653c7633bece9aa9b27593d692934c9fbc (diff) | |
download | mpv-b4e3f138ed8fa0ae23188a570565670deaf2e372.tar.bz2 mpv-b4e3f138ed8fa0ae23188a570565670deaf2e372.tar.xz |
fix fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7759 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |