summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-09 18:28:37 +0200
committerwm4 <wm4@nowhere>2014-10-09 18:28:37 +0200
commite294656cb11082a77f2e785fb55ddafa926bbc47 (patch)
treece2c6c09aa15567b78ae9c311de81a90f15c3346 /DOCS/client_api_examples
parentfef9ea5f6282b294cc1863dcc9e630e5ad9684ba (diff)
downloadmpv-e294656cb11082a77f2e785fb55ddafa926bbc47.tar.bz2
mpv-e294656cb11082a77f2e785fb55ddafa926bbc47.tar.xz
client API: rename --input-x11-keyboard to --input-vo-keyboard
Apparently we need this for Cocoa too. (The option was X11 specific in the hope that only X11 would need this hack.)
Diffstat (limited to 'DOCS/client_api_examples')
-rw-r--r--DOCS/client_api_examples/qtexample.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/client_api_examples/qtexample.cpp b/DOCS/client_api_examples/qtexample.cpp
index fa657cf7b9..b4b5934b57 100644
--- a/DOCS/client_api_examples/qtexample.cpp
+++ b/DOCS/client_api_examples/qtexample.cpp
@@ -67,8 +67,8 @@ MainWindow::MainWindow(QWidget *parent) :
mpv_set_option_string(mpv, "input-default-bindings", "yes");
// Enable keyboard input on the X11 window. For the messy details, see
- // --input-x11-keyboard on the manpage.
- mpv_set_option_string(mpv, "input-x11-keyboard", "yes");
+ // --input-vo-keyboard on the manpage.
+ mpv_set_option_string(mpv, "input-vo-keyboard", "yes");
// Let us receive property change events with MPV_EVENT_PROPERTY_CHANGE if
// this property changes.