From d6de6404403679b42721e484609c31243447a6f3 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 18 Feb 2019 12:34:21 +0100 Subject: data-device: unbreak wl_data_source.cancel during drag-and-drop --- include/wlr/types/wlr_data_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h index 9da7cc0d..256654e5 100644 --- a/include/wlr/types/wlr_data_device.h +++ b/include/wlr/types/wlr_data_device.h @@ -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 { -- cgit v1.2.3