summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
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 b3066b300a..70f1231a7d 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -4,6 +4,8 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include "config.h"
+
struct vo;
struct vo_x11_state {
@@ -58,6 +60,10 @@ struct vo_x11_state {
Atom XAWM_DELETE_WINDOW;
};
+#if defined(CONFIG_GL) || defined(CONFIG_X11) || defined(CONFIG_XV)
+#define X11_FULLSCREEN 1
+#endif
+
#ifdef X11_FULLSCREEN
#define vo_wm_LAYER 1