labwc/src/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.c cursor: prevent Drag mousebinds from running without button press 2024-10-01 21:26:19 +01:00
gestures.c Move gesture handling out of cursor.c 2023-10-30 21:14:04 +00:00
ime.c IME: fix flicker when popup surface is initially mapped 2024-06-04 03:59:56 +09:00
input.c keyboard: set keyboard layout on reconfigure 2024-01-19 18:59:14 +00:00
key-state.c key-state: use struct assignment 2024-03-04 02:27:40 +01:00
keyboard.c Refactor the logic of placing client-menu with ShowMenu action 2024-09-21 18:07:34 +01:00
meson.build input: add tablet tool setup 2024-05-27 22:40:50 +02:00
tablet-pad.c input: move cursor event listeners from tablet to seat 2024-08-13 18:40:34 +02:00
tablet-tool.c input: move cursor event listeners from tablet to seat 2024-08-13 18:40:34 +02:00
tablet.c cursor: prevent Drag mousebinds from running without button press 2024-10-01 21:26:19 +01:00
touch.c Refactor the logic of placing client-menu with ShowMenu action 2024-09-21 18:07:34 +01:00