From cf395e1754d36cf22baae3e49445263aab226835 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 23 Feb 2015 16:08:38 +0100 Subject: DOCS/client_api_examples/simple: fix option "input-x11-keyboard" still works, but is a deprecated alias with the same functionality. --- DOCS/client_api_examples/simple/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DOCS/client_api_examples') diff --git a/DOCS/client_api_examples/simple/simple.c b/DOCS/client_api_examples/simple/simple.c index d18003dc2d..3ba1c35686 100644 --- a/DOCS/client_api_examples/simple/simple.c +++ b/DOCS/client_api_examples/simple/simple.c @@ -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)); -- cgit v1.2.3