diff libvo/x11_common.h @ 27750:2c11b155ff11

Move X11_FULLSCREEN definition to x11_common.h where it belongs. config.h should only contain option definitions, no logic.
author diego
date Thu, 16 Oct 2008 18:19:36 +0000
parents d58d06eafe83
children 9829cfa41d6d
line wrap: on
line diff
--- a/libvo/x11_common.h	Thu Oct 16 18:14:35 2008 +0000
+++ b/libvo/x11_common.h	Thu Oct 16 18:19:36 2008 +0000
@@ -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