From 0f85b371fd7d6267f12257278a863befbda65ad7 Mon Sep 17 00:00:00 2001 From: henry Date: Sat, 9 Jun 2007 09:25:41 +0000 Subject: set the window aspect hint git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23525 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index d56eef6513..6f0e684c85 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -506,6 +506,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin XSelectInput(mDisplay, vo_window, StructureNotifyMask); /* Tell other applications about this window */ XSetStandardProperties(mDisplay, vo_window, title, title, None, NULL, 0, &hint); + /* Set the size hints. */ + vo_x11_sizehint(hint.x, hint.y, hint.width, hint.height, 0); /* Map window. */ XMapWindow(mDisplay, vo_window); -- cgit v1.2.3