summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-23 16:08:38 +0100
committerwm4 <wm4@nowhere>2015-02-23 16:08:38 +0100
commitcf395e1754d36cf22baae3e49445263aab226835 (patch)
tree11154c872133d679c676ddf9751eba0b7be98a8b
parentd77fdc8f82491eeba019575f402127d2794acfc6 (diff)
downloadmpv-cf395e1754d36cf22baae3e49445263aab226835.tar.bz2
mpv-cf395e1754d36cf22baae3e49445263aab226835.tar.xz
DOCS/client_api_examples/simple: fix option
"input-x11-keyboard" still works, but is a deprecated alias with the same functionality.
-rw-r--r--DOCS/client_api_examples/simple/simple.c2
1 files changed, 1 insertions, 1 deletions
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));