mirror of https://github.com/mpv-player/mpv
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:
parent
839d579160
commit
93f1a21bf7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue