data-device: unbreak wl_data_source.cancel during drag-and-drop

This commit is contained in:
emersion 2019-02-18 12:34:21 +01:00
parent 7d367a9e21
commit d6de640440
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 56 additions and 34 deletions

View file

@ -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 {