summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c3
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);