mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
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. |
||
|---|---|---|
| .. | ||
| cursor.h | ||
| gestures.h | ||
| ime.h | ||
| input.h | ||
| key-state.h | ||
| keyboard.h | ||
| tablet-pad.h | ||
| tablet-tool.h | ||
| tablet.h | ||
| touch.h | ||