aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-14 20:36:01 -0400
committerGuido Günther <agx@sigxcpu.org>2018-04-23 11:24:06 +0200
commit278aa846195ceb8ea85c181aba21e0befbcce5de (patch)
tree8a27634d02ed833e189d65f852ce8b732f9f7e46 /include/wlr
parentd3cdb00208f119e1e2a2fc1f1733e6eff6d47da5 (diff)
Basic layer popup rendering
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_layer_shell.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_layer_shell.h b/include/wlr/types/wlr_layer_shell.h
index 4b3e4e1c..6040478d 100644
--- a/include/wlr/types/wlr_layer_shell.h
+++ b/include/wlr/types/wlr_layer_shell.h
@@ -109,4 +109,8 @@ bool wlr_surface_is_layer_surface(struct wlr_surface *surface);
struct wlr_layer_surface *wlr_layer_surface_from_wlr_surface(
struct wlr_surface *surface);
+/* Calls the iterator function for each sub-surface and popup of this surface */
+void wlr_layer_surface_for_each_surface(struct wlr_layer_surface *surface,
+ wlr_surface_iterator_func_t iterator, void *user_data);
+
#endif