summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-24 17:46:19 +0000
committeral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-24 17:46:19 +0000
commitbc52a8e25b2dd19153c4529a30f6d260379fa319 (patch)
tree856919d3a6111d17e71edd55cc0a347aac31145c /libvo
parentdf48e121b022acfbb80ffab46abb6edc44079568 (diff)
downloadmpv-bc52a8e25b2dd19153c4529a30f6d260379fa319.tar.bz2
mpv-bc52a8e25b2dd19153c4529a30f6d260379fa319.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c4
1 files changed, 1 insertions, 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
{