comparison 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
comparison
equal deleted inserted replaced
27749:fe1ef9daa92e 27750:2c11b155ff11
1 #ifndef MPLAYER_X11_COMMON_H 1 #ifndef MPLAYER_X11_COMMON_H
2 #define MPLAYER_X11_COMMON_H 2 #define MPLAYER_X11_COMMON_H
3 3
4 #include <X11/Xlib.h> 4 #include <X11/Xlib.h>
5 #include <X11/Xutil.h> 5 #include <X11/Xutil.h>
6
7 #include "config.h"
8
9 #if defined(CONFIG_GL) || defined(CONFIG_X11) || defined(CONFIG_XV)
10 #define X11_FULLSCREEN 1
11 #endif
6 12
7 #ifdef X11_FULLSCREEN 13 #ifdef X11_FULLSCREEN
8 14
9 #define vo_wm_LAYER 1 15 #define vo_wm_LAYER 1
10 #define vo_wm_FULLSCREEN 2 16 #define vo_wm_FULLSCREEN 2