aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-01 08:05:02 -0400
committerTony Crisci <tony@dubstepdish.com>2017-11-01 08:05:02 -0400
commit1a756b3123a76637ea69babf71af1202c71d89a8 (patch)
tree3a1d00fae00ed0e932dc25e945faea50846cefce /include
parente903a69698aabfd5469db2aa6b75bcd708574a16 (diff)
bugfix: dnd force cancel
Diffstat (limited to 'include')
-rw-r--r--include/rootston/input.h1
-rw-r--r--include/wlr/types/wlr_data_device.h2
2 files changed, 3 insertions, 0 deletions
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;