From bc52a8e25b2dd19153c4529a30f6d260379fa319 Mon Sep 17 00:00:00 2001 From: al Date: Thu, 24 Feb 2005 17:46:19 +0000 Subject: Always use vo_x11_sizehint function ( even when going fullscreen ) to reflect at least the window aspect behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14798 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 8acd0a68ce..9fbaea74ad 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -329,7 +329,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, ExposureMask))); XSetStandardProperties(mDisplay, vo_window, hello, hello, None, NULL, 0, &hint); - XSetWMNormalHints(mDisplay, vo_window, &hint); + vo_x11_sizehint(hint.x, hint.y, hint.width, hint.height, 0); XMapWindow(mDisplay, vo_window); if (flags & 1) vo_x11_fullscreen(); @@ -338,8 +338,6 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, #ifdef HAVE_XINERAMA vo_x11_xinerama_move(mDisplay, vo_window); #endif - vo_x11_sizehint(hint.x, hint.y, hint.width, hint.height, - 0); } } else { -- cgit v1.2.3