From 943e918a965e7cb07d84913170032784c31ff5d4 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 16 Feb 2019 17:32:01 +0100 Subject: subsurface: add map/unmap events Fixes https://github.com/swaywm/wlroots/issues/1414 --- include/wlr/types/wlr_surface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/wlr') 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; -- cgit v1.2.3