0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/input
nanahi de97cb0964 input: mark a command as canceled if it is explicitly dropped
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.
2024-06-06 23:38:39 +03:00
..
cmd.c input/cmd: add nonrepeatable prefix 2024-05-20 17:47:01 +02:00
cmd.h input: mark a command as canceled if it is explicitly dropped 2024-06-06 23:38:39 +03:00
event.c input: add insert-next support for drag-and-drop 2024-02-26 02:03:21 +00:00
event.h input: add insert-next support for drag-and-drop 2024-02-26 02:03:21 +00:00
input.c input: mark a command as canceled if it is explicitly dropped 2024-06-06 23:38:39 +03:00
input.h input: add multitouch support functions 2024-05-03 16:14:03 +02:00
ipc-dummy.c
ipc-unix.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
ipc-win.c win32: don't jump over variable init with goto 2023-11-18 23:55:28 +00:00
ipc.c json: unify json_parse depth to MAX_JSON_DEPTH=50 2023-07-08 11:36:15 +02:00
keycodes.c various: fix indentation 2024-05-07 11:23:08 +02:00
keycodes.h input: add MP_TOUCH_RELEASE_ALL 2024-05-03 16:14:03 +02:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
sdl_gamepad.c sdl_gamepad: add version check for SDL_HINT_JOYSTICK_THREAD 2023-11-24 14:27:56 +01:00