changeset 27303:690ba711bda8

Make vo_x11_fullscreen not break vo_border (proper support still needs vo changes)
author reimar
date Tue, 22 Jul 2008 18:33:53 +0000
parents 3c8ace77019a
children d0042136047c
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Tue Jul 22 18:25:53 2008 +0000
+++ b/libvo/x11_common.c	Tue Jul 22 18:33:53 2008 +0000
@@ -1562,7 +1562,7 @@
 
     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);