mirror of https://github.com/mpv-player/mpv
DOCS/client_api_examples/simple: fix option
"input-x11-keyboard" still works, but is a deprecated alias with the same functionality.
This commit is contained in:
parent
d77fdc8f82
commit
cf395e1754
|
@ -30,7 +30,7 @@ int main(int argc, char *argv[])
|
|||
// Enable default key bindings, so the user can actually interact with
|
||||
// the player (and e.g. close the window).
|
||||
check_error(mpv_set_option_string(ctx, "input-default-bindings", "yes"));
|
||||
mpv_set_option_string(ctx, "input-x11-keyboard", "yes");
|
||||
mpv_set_option_string(ctx, "input-vo-keyboard", "yes");
|
||||
int val = 1;
|
||||
check_error(mpv_set_option(ctx, "osc", MPV_FORMAT_FLAG, &val));
|
||||
|
||||
|
|
Loading…
Reference in New Issue