From 93f1a21bf7a8a51461c994904a2ba4a93971da4e Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 22 Jul 2008 18:38:04 +0000 Subject: [PATCH] Support -noborder with X11-based vos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27336 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 03831f8026..a02303c60b 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1313,6 +1313,7 @@ void vo_x11_create_vo_window(XVisualInfo *vis, int x, int y, 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);