summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-22 18:33:53 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-22 18:33:53 +0000
commit839d5791602f49cba3349df18e80e2166e0feb46 (patch)
tree7291d75386287c8e9c4513345ea073425f27cd43 /libvo
parentbcfdec774616b377b54dc17dbc1e430edbaf0574 (diff)
downloadmpv-839d5791602f49cba3349df18e80e2166e0feb46.tar.bz2
mpv-839d5791602f49cba3349df18e80e2166e0feb46.tar.xz
Make vo_x11_fullscreen not break vo_border (proper support still needs vo changes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27335 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 75ace911e8..03831f8026 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1562,7 +1562,7 @@ void vo_x11_fullscreen(void)
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // not needed with EWMH fs
{
- vo_x11_decoration(mDisplay, vo_window, (vo_fs) ? 0 : 1);
+ vo_x11_decoration(mDisplay, vo_window, vo_border && !vo_fs);
vo_x11_sizehint(x, y, w, h, 0);
vo_x11_setlayer(mDisplay, vo_window, vo_fs);