mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user