# HG changeset patch # User henry # Date 1181381141 0 # Node ID 96e93cd1ac9e4dcdc19f8884c29738c06c0e250a # Parent 22395c2c499121119621b860015a2e18e6030a00 set the window aspect hint diff -r 22395c2c4991 -r 96e93cd1ac9e libvo/vo_gl.c --- 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);