labwc/include/input
tokyo4j 1557cb774f cursor: prevent Drag mousebinds from running without button press
For `Drag` mousebinds, `pressed_in_context` is set by
`cursor_process_button_press()` and cleared by `cursor_process_motion()`
which runs actions bound to them. However, when `cursor_process_motion()`
is called while interactive move/resize, it doesn't clear
`pressed_in_context` due to the early-return and the `Drag` mousebinds are
unexpectedly executed on another call to `cursor_process_motion()` after
the interactive move/resize is finished by button release, even when the
button is not pressed.

So this commit fixes it by always clearing `pressed_in_context` on button
releases.
2024-10-01 21:26:19 +01:00
..
cursor.h cursor: prevent Drag mousebinds from running without button press 2024-10-01 21:26:19 +01:00
gestures.h Move gesture handling out of cursor.c 2023-10-30 21:14:04 +00:00
ime.h IME: support multiple IME popups 2024-05-20 09:35:26 +09:00
input.h Move input handler init() and finish() functions to input/input.c 2023-10-30 21:14:04 +00:00
key-state.h keyboard: include pressed modifiers in bound set 2023-11-12 17:37:30 +00:00
keyboard.h Use existing reset_keybind function 2024-06-15 21:22:58 +01:00
tablet-pad.h input: move cursor event listeners from tablet to seat 2024-08-13 18:40:34 +02:00
tablet-tool.h input: move cursor event listeners from tablet to seat 2024-08-13 18:40:34 +02:00
tablet.h input: move cursor event listeners from tablet to seat 2024-08-13 18:40:34 +02:00
touch.h Make touch depend on cursor to prevent racing 2023-10-30 21:14:04 +00:00