[MPlayer-cvslog] r27336 - trunk/libvo/x11_common.c

reimar subversion at mplayerhq.hu
Tue Jul 22 20:38:04 CEST 2008


Author: reimar
Date: Tue Jul 22 20:38:04 2008
New Revision: 27336

Log:
Support -noborder with X11-based vos


Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	(original)
+++ trunk/libvo/x11_common.c	Tue Jul 22 20:38:04 2008
@@ -1313,6 +1313,7 @@ void vo_x11_create_vo_window(XVisualInfo
     hint.flags = PPosition | PSize;
     XSetStandardProperties(mDisplay, vo_window, title, title, None, NULL, 0, &hint);
     vo_x11_sizehint(x, y, width, height, 0);
+    if (!vo_border) vo_x11_decoration(mDisplay, vo_window, 0);
     // map window
     XMapWindow(mDisplay, vo_window);
     XClearWindow(mDisplay, vo_window);



More information about the MPlayer-cvslog mailing list