aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/output.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-01-08 10:46:12 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2021-01-12 11:25:34 +0100
commit5438cc158a1b9fa3bf76445a6dc986e30c5e78f6 (patch)
tree7feb4dce6441803e7ddd50b7747ebb6a46a2a485 /include/sway/output.h
parentFix #5940 (diff)
downloadsway-5438cc158a1b9fa3bf76445a6dc986e30c5e78f6.tar.gz
sway-5438cc158a1b9fa3bf76445a6dc986e30c5e78f6.tar.zst
sway-5438cc158a1b9fa3bf76445a6dc986e30c5e78f6.zip
Switch to wlr_xdg_surface_for_each_popup_surface
Instead of calling wlr_xdg_surface_for_each_popup and then wlr_surface_for_each_surface, use the new for_each_popup_surface helper introduced in [1] that does it in one go. [1]: https://github.com/swaywm/wlroots/pull/2609
Diffstat (limited to 'include/sway/output.h')
-rw-r--r--include/sway/output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 16451d81..300fcd48 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -116,7 +116,7 @@ void output_view_for_each_surface(struct sway_output *output,
116 struct sway_view *view, sway_surface_iterator_func_t iterator, 116 struct sway_view *view, sway_surface_iterator_func_t iterator,
117 void *user_data); 117 void *user_data);
118 118
119void output_view_for_each_popup(struct sway_output *output, 119void output_view_for_each_popup_surface(struct sway_output *output,
120 struct sway_view *view, sway_surface_iterator_func_t iterator, 120 struct sway_view *view, sway_surface_iterator_func_t iterator,
121 void *user_data); 121 void *user_data);
122 122