aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-02 23:30:26 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-02 23:36:36 +1000
commit8392eae40f17e550338b8b7058d8e9c1a6ad4f78 (patch)
treeffefcdd261970549f8b83adae8d93b6c3b9ebbbb /sway/tree/view.c
parentMerge pull request #2366 from RedSoxFan/nagbar (diff)
downloadsway-8392eae40f17e550338b8b7058d8e9c1a6ad4f78.tar.gz
sway-8392eae40f17e550338b8b7058d8e9c1a6ad4f78.tar.zst
sway-8392eae40f17e550338b8b7058d8e9c1a6ad4f78.zip
Revert "Revert "Fix popups""
This reverts commit 9aa258d33a9baa42895214da7e82f4568fcb8f76. Reverting the revert, so that popups can be fixed.
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 27a6a8bd..97318daa 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -339,6 +339,16 @@ void view_for_each_surface(struct sway_view *view,
339 } 339 }
340} 340}
341 341
342void view_for_each_popup(struct sway_view *view,
343 wlr_surface_iterator_func_t iterator, void *user_data) {
344 if (!view->surface) {
345 return;
346 }
347 if (view->impl->for_each_popup) {
348 view->impl->for_each_popup(view, iterator, user_data);
349 }
350}
351
342static void view_subsurface_create(struct sway_view *view, 352static void view_subsurface_create(struct sway_view *view,
343 struct wlr_subsurface *subsurface); 353 struct wlr_subsurface *subsurface);
344 354