From 37ee8c83cbdb9b68b345ae8063cd50f7f84f64e2 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 15 Jun 2006 08:00:37 +0000 Subject: Fix window position when changing videos while in fullscreen and for window managers that modify position on Map. Oked by Alexander Strasser. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18718 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xmga.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libvo/vo_xmga.c') diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index abf37b3bff..bec59d13a3 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -238,13 +238,13 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, XStoreName(mDisplay, vo_window, mTitle); XMapWindow(mDisplay, vo_window); + vo_x11_nofs_sizepos(vo_dx, vo_dy, vo_dwidth, vo_dheight); if (flags & VOFLAG_FULLSCREEN) vo_x11_fullscreen(); - } else if (!(flags & VOFLAG_FULLSCREEN)) - XMoveResizeWindow(mDisplay, vo_window, vo_dx, vo_dy, - vo_dwidth, vo_dheight); + } else + vo_x11_nofs_sizepos(vo_dx, vo_dy, vo_dwidth, vo_dheight); } if (vo_gc != None) -- cgit v1.2.3