From ecb4c08ee2f0f87cc2a3afce1435ea84956936f0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 18 Apr 2014 16:37:27 +0200 Subject: input: close window when window close button is pressed with --input-test The window close button is usually mapped to the CLOSE_WIN pseudo-key. Until now, --input-test treated this pseudo-key like any other key (like the rest of the input handling code), so you couldn't close the window in this mode. The manpage had silly instructions and warnings how to deal with this. Just always quit when CLOSE_WIN is received, and improve the instructions. --- DOCS/man/en/input.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'DOCS/man/en/input.rst') diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index 36a19e9479..a8c1fc177f 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -21,10 +21,10 @@ In general, keys can be combined with ``Shift``, ``Ctrl`` and ``Alt``:: **mpv** can be started in input test mode, which displays key bindings and the commands they're bound to on the OSD, instead of executing the commands:: - mpv --input-test --demuxer=rawvideo --demuxer-rawvideo=w=1280:h=720 /dev/zero + mpv --input-test --force-window --idle -(Commands which normally close the player will not work in this mode, and you -must kill **mpv** externally to make it exit.) +(Only closing the window will make **mpv** exit, pressing normal keys will +merely display the binding, even if mapped to quit.) General Input Command Syntax ---------------------------- -- cgit v1.2.3