summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-23 16:08:38 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-02-25 10:50:39 +0900
commit62bc8442be72ecd47751211e6e6d5fc7472afbac (patch)
treefeeecfabf045d122f752eee8503ea4b8140881cc
parent0edd08a1f6e099af90a063390052033f0086d8a0 (diff)
downloadmpv-62bc8442be72ecd47751211e6e6d5fc7472afbac.tar.bz2
mpv-62bc8442be72ecd47751211e6e6d5fc7472afbac.tar.xz
DOCS/client_api_examples/simple: fix option
"input-x11-keyboard" still works, but is a deprecated alias with the same functionality. (cherry picked from commit cf395e1754d36cf22baae3e49445263aab226835)
-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));