diff options
author | wm4 <wm4@nowhere> | 2013-09-08 02:07:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-08 03:03:58 +0200 |
commit | 0509532d702e53ec77e47c38a3c92575a8843dcb (patch) | |
tree | 0e2119dd0d1a9ed2f598099ca8dff389ca9e10c9 /mpvcore/options.c | |
parent | f1b5198b35285111c3084c8d53d69194a5fc08e0 (diff) | |
download | mpv-0509532d702e53ec77e47c38a3c92575a8843dcb.tar.bz2 mpv-0509532d702e53ec77e47c38a3c92575a8843dcb.tar.xz |
options: cosmetics: move cursor_autohide_delay definition
No functional changes.
Diffstat (limited to 'mpvcore/options.c')
-rw-r--r-- | mpvcore/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c index c63aa7342a..b84c0d4999 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -604,7 +604,7 @@ const m_option_t mp_opts[] = { {"limited", MP_CSP_LEVELS_TV}, {"full", MP_CSP_LEVELS_PC})), - OPT_CHOICE_OR_INT("cursor-autohide", vo.cursor_autohide_delay, 0, + OPT_CHOICE_OR_INT("cursor-autohide", cursor_autohide_delay, 0, 0, 30000, ({"no", -1}, {"always", -2})), OPT_FLAG("stop-screensaver", stop_screensaver, 0), @@ -753,7 +753,6 @@ const struct MPOpts mp_default_opts = { .volstep = 3, .vo = { .video_driver_list = NULL, - .cursor_autohide_delay = 1000, .monitor_pixel_aspect = 1.0, .screen_id = -1, .fsscreen_id = -1, @@ -768,6 +767,7 @@ const struct MPOpts mp_default_opts = { .wintitle = "mpv - ${media-title}", .heartbeat_interval = 30.0, .stop_screensaver = 1, + .cursor_autohide_delay = 1000, .gamma_gamma = 1000, .gamma_brightness = 1000, .gamma_contrast = 1000, |