Skip to content

Commit

Permalink
input: use OPT_REPLACED for an old option alias
Browse files Browse the repository at this point in the history
  • Loading branch information
wm4 committed Aug 31, 2016
1 parent 7614f2b commit f519887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f519887

Please sign in to comment.