diff libvo/x11_common.c @ 27304:d0042136047c

Support -noborder with X11-based vos
author reimar
date Tue, 22 Jul 2008 18:38:04 +0000
parents 690ba711bda8
children 7a650839fc10
line wrap: on
line diff
--- a/libvo/x11_common.c	Tue Jul 22 18:33:53 2008 +0000
+++ b/libvo/x11_common.c	Tue Jul 22 18:38:04 2008 +0000
@@ -1313,6 +1313,7 @@
     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);