1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00

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
This commit is contained in:
diego 2008-10-16 18:19:36 +00:00
parent 11e54c5b67
commit a290af1657
3 changed files with 6 additions and 6 deletions

3
configure vendored
View File

@ -8607,9 +8607,6 @@ $_def_tga
/* Define this if you have shm support */
$_def_shm
#if defined(CONFIG_GL) || defined(CONFIG_X11) || defined(CONFIG_XV)
#define X11_FULLSCREEN 1
#endif
/* FFmpeg */
/* Define this to enable image postprocessing in libavcodec */

View File

@ -20,10 +20,7 @@
#include "sub.h"
#include "get_path.h"
#include "libmpdemux/mpeg_packetizer.h"
#ifdef X11_FULLSCREEN
#include "x11_common.h"
#endif
#include <dxr2ioctl.h>

View File

@ -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