summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-18 16:37:27 +0200
committerwm4 <wm4@nowhere>2014-04-18 16:37:27 +0200
commitecb4c08ee2f0f87cc2a3afce1435ea84956936f0 (patch)
treebc55c14eb95acc2179100e825a6deac9976fa89d /etc
parent3b12d0add912ffc1e2f79e5292b5d2d732d07c9c (diff)
downloadmpv-ecb4c08ee2f0f87cc2a3afce1435ea84956936f0.tar.bz2
mpv-ecb4c08ee2f0f87cc2a3afce1435ea84956936f0.tar.xz
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/input.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/input.conf b/etc/input.conf
index 035ec783bf..42ae0701ce 100644
--- a/etc/input.conf
+++ b/etc/input.conf
@@ -6,8 +6,8 @@
# Also see mpv --input-cmdlist for other possible options.
# The file should be placed in the $HOME/.mpv directory.
#
-# mpv --input-test --pause dummy.mkv can be used to test which commands keys are
-# bound to.
+# mpv --input-test --force-window --idle can be used to test which commands
+# keys are bound to.
#
# If you wish to unbind a key, bind it to the 'ignore' command:
# KEY ignore