summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/qtexample.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/client_api_examples/qtexample.cpp')
-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.