aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-02-16 17:32:01 +0100
committeremersion <contact@emersion.fr>2019-02-17 12:01:15 +0100
commit943e918a965e7cb07d84913170032784c31ff5d4 (patch)
tree1385f031d8023c620f14152fdb69950e5ebfa944 /include/wlr
parent3c9f791d0e0a0f0b3437b0b26ea606ce3344cfe2 (diff)
subsurface: add map/unmap events
Fixes https://github.com/swaywm/wlroots/issues/1414
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_surface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index b8f8c02a..0c389987 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -130,6 +130,7 @@ struct wlr_subsurface {
bool synchronized;
bool reordered;
+ bool mapped;
struct wl_list parent_link;
struct wl_list parent_pending_link;
@@ -139,6 +140,8 @@ struct wlr_subsurface {
struct {
struct wl_signal destroy;
+ struct wl_signal map;
+ struct wl_signal unmap;
} events;
void *data;