From 839d5791602f49cba3349df18e80e2166e0feb46 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 22 Jul 2008 18:33:53 +0000 Subject: 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 --- libvo/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3