summaryrefslogtreecommitdiffstats
path: root/mpvcore/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-08 02:46:19 +0200
committerwm4 <wm4@nowhere>2013-09-08 03:03:58 +0200
commitcecbd8864ec9e03f8fc14f0a92bead310de946a9 (patch)
tree07e59d9260a67900569784bea439884c3ced7bfa /mpvcore/options.c
parent68e331851ad206b7504353e864d5720c9d0d73e1 (diff)
downloadmpv-cecbd8864ec9e03f8fc14f0a92bead310de946a9.tar.bz2
mpv-cecbd8864ec9e03f8fc14f0a92bead310de946a9.tar.xz
mplayer: add --cursor-autohide-fs-only option
This option makes the cursor always visible in windowed mode. Apparently, this is what (some?) Windows and OSX users expect. It's disabled by default for now. Restructure the cursor hide logic a bit for this purpose.
Diffstat (limited to 'mpvcore/options.c')
-rw-r--r--mpvcore/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c
index 9f87186066..cf09702dcb 100644
--- a/mpvcore/options.c
+++ b/mpvcore/options.c
@@ -606,6 +606,7 @@ const m_option_t mp_opts[] = {
OPT_CHOICE_OR_INT("cursor-autohide", cursor_autohide_delay, 0,
0, 30000, ({"no", -1}, {"always", -2})),
+ OPT_FLAG("cursor-autohide-fs-only", cursor_autohide_fs, 0),
OPT_FLAG("stop-screensaver", stop_screensaver, 0),
OPT_INT64("wid", vo.WinID, CONF_GLOBAL),