summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-16 18:19:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-16 18:19:36 +0000
commita290af1657a7c024e903a875fe1a886407aadc16 (patch)
treecc454a87856c8927751976566ad423f2b0e39f69 /libvo/x11_common.h
parent11e54c5b679385fc0a91a0360dce84a279682a9f (diff)
downloadmpv-a290af1657a7c024e903a875fe1a886407aadc16.tar.bz2
mpv-a290af1657a7c024e903a875fe1a886407aadc16.tar.xz
Move X11_FULLSCREEN definition to x11_common.h where it belongs.
config.h should only contain option definitions, no logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 7272378f9a..50bed0f599 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -4,6 +4,12 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include "config.h"
+
+#if defined(CONFIG_GL) || defined(CONFIG_X11) || defined(CONFIG_XV)
+#define X11_FULLSCREEN 1
+#endif
+
#ifdef X11_FULLSCREEN
#define vo_wm_LAYER 1