mirror of https://github.com/mpv-player/mpv
de97cb0964
In certain situations (including but not limited to begin window dragging), it is desired to cancel the current command completely. However, commands which have on_updown flag set require the command to be invoked in this situation. There is currently no way to know if the command is triggered normally or triggered because it is dropped. This adds a canceled state to mp_cmd which indicates this. |
||
---|---|---|
.. | ||
cmd.c | ||
cmd.h | ||
event.c | ||
event.h | ||
input.c | ||
input.h | ||
ipc-dummy.c | ||
ipc-unix.c | ||
ipc-win.c | ||
ipc.c | ||
keycodes.c | ||
keycodes.h | ||
meson.build | ||
sdl_gamepad.c |