diff options
author | wm4 <wm4@nowhere> | 2016-08-31 13:25:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-31 14:46:21 +0200 |
commit | f519887fe7571fb6e05f29b50d6f0bede1646b28 (patch) | |
tree | ffa26a61efd4f2dd190d41e6cc049168004a6718 | |
parent | 7614f2b3a6789c43e2fee1a2bbc0bdbcc72148f0 (diff) | |
download | mpv-f519887fe7571fb6e05f29b50d6f0bede1646b28.tar.bz2 mpv-f519887fe7571fb6e05f29b50d6f0bede1646b28.tar.xz |
input: use OPT_REPLACED for an old option alias
-rw-r--r-- | input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index dd9486f12a..e93fc6ec17 100644 --- a/input/input.c +++ b/input/input.c @@ -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), |