aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-07 11:18:58 +0100
committerGitHub <noreply@github.com>2018-06-07 11:18:58 +0100
commit6f895081e1d05e651543187e11766259e2b4f798 (patch)
tree9ef3692165726c41d7ad3d39dc8880eda21ea0f8 /include
parent211463ba8709e1ac94944deb11b5669f2d3b32e4 (diff)
parent5d3e95f833ae562bf6926ddfb9f1bdb0492c1674 (diff)
Merge pull request #1043 from acrisci/drag-icon-unmap
drag-icon map and unmap fixes
Diffstat (limited to 'include')
-rw-r--r--include/rootston/seat.h1
-rw-r--r--include/wlr/types/wlr_data_device.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index 7b09f339..0e3043dd 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -59,6 +59,7 @@ struct roots_drag_icon {
struct wl_listener surface_commit;
struct wl_listener map;
+ struct wl_listener unmap;
struct wl_listener destroy;
};
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h
index 5581373d..4de4d610 100644
--- a/include/wlr/types/wlr_data_device.h
+++ b/include/wlr/types/wlr_data_device.h
@@ -88,7 +88,8 @@ struct wlr_drag_icon {
int32_t sx, sy;
struct {
- struct wl_signal map; // emitted when mapped or unmapped
+ struct wl_signal map;
+ struct wl_signal unmap;
struct wl_signal destroy;
} events;