Support -noborder with X11-based vos

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27336 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-07-22 18:38:04 +00:00
parent 839d579160
commit 93f1a21bf7
1 changed files with 1 additions and 0 deletions

View File

@ -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);