summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-08-21 18:52:31 +0300
committerwm4 <wm4@nowhere>2012-09-18 21:04:46 +0200
commit435d7c97c900a53adedcca32b07bb4a9a5f890d3 (patch)
tree24734f7004cfc6da51b1b60b5e850449e32b7f7c /libvo/x11_common.h
parentd21b109bf7d3f36c13298d794c856eff834946c3 (diff)
downloadmpv-435d7c97c900a53adedcca32b07bb4a9a5f890d3.tar.bz2
mpv-435d7c97c900a53adedcca32b07bb4a9a5f890d3.tar.xz
cleanup: remove pointless #defines
Remove the following #defines, which should never change in practice: CONFIG_FAKE_MONO, OUTBURST, FAST_OSD, FAST_OSD_TABLE The configure script hardcoded these to particular values in config.h. They could only be changed by manually editing it. I don't think anyone would want to. X11_FULLSCREEN This once did something, but became meaningless years ago and was now always set to true if the files using it were compiled at all. Conflicts: configure libvo/osd.c libvo/vo_gl.c Merged from mplayer2. The OSD defines were already removed in this fork.
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 87be7181f3..cb8b39a3b1 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -98,12 +98,6 @@ struct vo_x11_state {
Atom XA_NET_WM_CM;
};
-#if defined(CONFIG_GL) || defined(CONFIG_X11) || defined(CONFIG_XV)
-#define X11_FULLSCREEN 1
-#endif
-
-#ifdef X11_FULLSCREEN
-
#define vo_wm_LAYER 1
#define vo_wm_FULLSCREEN 2
#define vo_wm_STAYS_ON_TOP 4
@@ -150,7 +144,6 @@ void vo_x11_ontop(struct vo *vo);
void vo_x11_border(struct vo *vo);
void vo_x11_ewmh_fullscreen(struct vo_x11_state *x11, int action);
-#endif
int vo_xv_set_eq(struct vo *vo, uint32_t xv_port, const char *name, int value);
int vo_xv_get_eq(struct vo *vo, uint32_t xv_port, const char *name, int *value);