diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-22 18:38:04 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-22 18:38:04 +0000 |
commit | 93f1a21bf7a8a51461c994904a2ba4a93971da4e (patch) | |
tree | e8f248cbae48520dd171b2f602547675646a1f5a /libvo | |
parent | 839d5791602f49cba3349df18e80e2166e0feb46 (diff) |
Support -noborder with X11-based vos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27336 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |