changeset 23505:96e93cd1ac9e

set the window aspect hint
author henry
date Sat, 09 Jun 2007 09:25:41 +0000
parents 22395c2c4991
children ad116ce6028c
files libvo/vo_gl.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Fri Jun 08 22:59:04 2007 +0000
+++ b/libvo/vo_gl.c	Sat Jun 09 09:25:41 2007 +0000
@@ -506,6 +506,8 @@
     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);