From af54ff826b124c7ed8642a8d163f210541da51c3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 17:00:52 +0100 Subject: Remove --rootwin option and rootwin property You can just use --wid=0 if you really want this. This only worked/works for X11, and even then it might interact badly with most desktop environments. All the option did was setting --wid to 0, and the property did nothing. --- core/cfg-mplayer.h | 1 - core/command.c | 10 ---------- core/input/input.c | 1 - 3 files changed, 12 deletions(-) (limited to 'core') diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 84024f7a6d..82d030ff1e 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -529,7 +529,6 @@ const m_option_t mplayer_opts[]={ OPT_STRINGLIST("ao", audio_driver_list, 0), OPT_FLAG("fixed-vo", fixed_vo, CONF_GLOBAL), OPT_FLAG("ontop", vo_ontop, 0), - {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL}, OPT_STRING("mixer", mixer_device, 0), diff --git a/core/command.c b/core/command.c index 644b1d37b2..35083f4aa3 100644 --- a/core/command.c +++ b/core/command.c @@ -1025,14 +1025,6 @@ static int mp_property_ontop(m_option_t *prop, int action, void *arg, &mpctx->opts.vo_ontop, mpctx); } -/// Display in the root window (RW) -static int mp_property_rootwin(m_option_t *prop, int action, void *arg, - MPContext *mpctx) -{ - return mp_property_vo_flag(prop, action, arg, VOCTRL_ROOTWIN, - &vo_rootwin, mpctx); -} - /// Show window borders (RW) static int mp_property_border(m_option_t *prop, int action, void *arg, MPContext *mpctx) @@ -1388,7 +1380,6 @@ static const m_option_t mp_properties[] = { M_OPTION_PROPERTY_CUSTOM("colormatrix-output-range", mp_property_colormatrix_output_range), M_OPTION_PROPERTY_CUSTOM("ontop", mp_property_ontop), - M_OPTION_PROPERTY_CUSTOM("rootwin", mp_property_rootwin), M_OPTION_PROPERTY_CUSTOM("border", mp_property_border), M_OPTION_PROPERTY_CUSTOM("framedrop", mp_property_framedrop), M_OPTION_PROPERTY_CUSTOM_("gamma", mp_property_gamma, @@ -1504,7 +1495,6 @@ static struct property_osd_display { // video { "panscan", _("Panscan"), .osd_progbar = OSD_PANSCAN }, { "ontop", _("Stay on top") }, - { "rootwin", _("Rootwin") }, { "border", _("Border") }, { "framedrop", _("Framedrop") }, { "deinterlace", _("Deinterlace") }, diff --git a/core/input/input.c b/core/input/input.c index 6f611a8ef3..4496537317 100644 --- a/core/input/input.c +++ b/core/input/input.c @@ -223,7 +223,6 @@ static const struct legacy_cmd legacy_cmds[] = { {"vo_fullscreen", "no-osd cycle fullscreen"}, {"panscan", "add panscan"}, {"vo_ontop", "cycle ontop"}, - {"vo_rootwin", "cycle rootwin"}, {"vo_border", "cycle border"}, {"frame_drop", "cycle framedrop"}, {"gamma", "add gamma"}, -- cgit v1.2.3