aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rootston/view.h2
-rw-r--r--include/wlr/types/wlr_surface.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index b1feb5ce..0174e4f3 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -181,6 +181,8 @@ struct roots_subsurface {
struct roots_view_child view_child;
struct wlr_subsurface *wlr_subsurface;
struct wl_listener destroy;
+ struct wl_listener map;
+ struct wl_listener unmap;
};
struct roots_wl_shell_popup {
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;