1
mirror of https://github.com/mpv-player/mpv synced 2024-07-11 23:47:56 +02:00

input: use OPT_REPLACED for an old option alias

This commit is contained in:
wm4 2016-08-31 13:25:28 +02:00
parent 7614f2b3a6
commit f519887fe7

View File

@ -186,12 +186,12 @@ const struct m_sub_options input_config = {
OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000),
OPT_FLAG("cursor", enable_mouse_movements, CONF_GLOBAL),
OPT_FLAG("vo-keyboard", vo_key_input, CONF_GLOBAL),
OPT_FLAG("x11-keyboard", vo_key_input, CONF_GLOBAL), // old alias
#if HAVE_COCOA
OPT_FLAG("appleremote", use_appleremote, CONF_GLOBAL),
OPT_FLAG("media-keys", use_media_keys, CONF_GLOBAL),
OPT_FLAG("app-events", use_app_events, CONF_GLOBAL),
#endif
OPT_REPLACED("x11-keyboard", "input-vo-keyboard"),
{0}
},
.size = sizeof(struct input_opts),