diff options
author | wm4 <wm4@nowhere> | 2013-02-24 17:00:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-24 17:00:52 +0100 |
commit | af54ff826b124c7ed8642a8d163f210541da51c3 (patch) | |
tree | c0add21c83de64c536c87bb5290874d6df6c199e /core/command.c | |
parent | 90efe7cf4865ed615b2932dee5d8b795a3c43290 (diff) | |
download | mpv-af54ff826b124c7ed8642a8d163f210541da51c3.tar.bz2 mpv-af54ff826b124c7ed8642a8d163f210541da51c3.tar.xz |
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.
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 10 |
1 files changed, 0 insertions, 10 deletions
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") }, |