mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
data-device: unbreak wl_data_source.cancel during drag-and-drop
This commit is contained in:
parent
7d367a9e21
commit
d6de640440
3 changed files with 56 additions and 34 deletions
|
|
@ -127,7 +127,7 @@ struct wlr_drag {
|
|||
struct wlr_surface *focus; // can be NULL
|
||||
struct wlr_data_source *source; // can be NULL
|
||||
|
||||
bool started, cancelling;
|
||||
bool started, dropped, cancelling;
|
||||
int32_t grab_touch_id, touch_id; // if WLR_DRAG_GRAB_TOUCH
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue