diff options
Diffstat (limited to 'libvo/vo_xvmc.c')
-rw-r--r-- | libvo/vo_xvmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index d8e464ded8..bb0995a43d 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -701,6 +701,7 @@ found_subpic: XSetStandardProperties(mDisplay, vo_window, hello, hello, None, NULL, 0, &hint); XSetWMNormalHints( mDisplay,vo_window,&hint ); XMapWindow(mDisplay, vo_window); + vo_x11_nofs_sizepos(hint.x, hint.y, hint.width, hint.height); if ( flags&VOFLAG_FULLSCREEN ) vo_x11_fullscreen(); else { vo_x11_sizehint( hint.x, hint.y, hint.width, hint.height,0 ); @@ -708,7 +709,7 @@ found_subpic: } else { // vo_fs set means we were already at fullscreen vo_x11_sizehint( hint.x, hint.y, hint.width, hint.height,0 ); - if ( !vo_fs ) XMoveResizeWindow( mDisplay,vo_window,hint.x,hint.y,hint.width,hint.height ); + vo_x11_nofs_sizepos(hint.x, hint.y, hint.width, hint.height); if ( flags&VOFLAG_FULLSCREEN && !vo_fs ) vo_x11_fullscreen(); // handle -fs on non-first file } |