[MPlayer-cvslog] r23525 - trunk/libvo/vo_gl.c

henry subversion at mplayerhq.hu
Sat Jun 9 11:25:42 CEST 2007


Author: henry
Date: Sat Jun  9 11:25:41 2007
New Revision: 23525

Log:
set the window aspect hint

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	(original)
+++ trunk/libvo/vo_gl.c	Sat Jun  9 11:25:41 2007
@@ -506,6 +506,8 @@ config(uint32_t width, uint32_t height, 
     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);
 



More information about the MPlayer-cvslog mailing list