From 1a756b3123a76637ea69babf71af1202c71d89a8 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Wed, 1 Nov 2017 08:05:02 -0400 Subject: bugfix: dnd force cancel --- include/rootston/input.h | 1 + include/wlr/types/wlr_data_device.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/rootston/input.h b/include/rootston/input.h index 5cd7509e..20b73c8a 100644 --- a/include/rootston/input.h +++ b/include/rootston/input.h @@ -68,6 +68,7 @@ struct roots_input_event { struct roots_drag_icon { struct wlr_surface *surface; struct wl_list link; // roots_input::drag_icons + bool mapped; int32_t sx; int32_t sy; diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h index 70d6dce3..691e2df8 100644 --- a/include/wlr/types/wlr_data_device.h +++ b/include/wlr/types/wlr_data_device.h @@ -61,6 +61,8 @@ struct wlr_drag { struct wlr_surface *focus; struct wlr_data_source *source; + bool cancelling; + struct wl_listener icon_destroy; struct wl_listener source_destroy; struct wl_listener seat_client_unbound; -- cgit v1.2.3