aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r--sway/desktop/transaction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index acc3e3f9..c1a988ca 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -606,9 +606,9 @@ static void arrange_output(struct sway_output *output, int width, int height) {
}
}
-static void arrange_popup(struct wlr_scene_tree *popup) {
+void arrange_popups(struct wlr_scene_tree *popups) {
struct wlr_scene_node *node;
- wl_list_for_each(node, &popup->children, link) {
+ wl_list_for_each(node, &popups->children, link) {
struct sway_xdg_popup *popup = scene_descriptor_try_get(node,
SWAY_SCENE_DESC_POPUP);
@@ -679,7 +679,7 @@ static void arrange_root(struct sway_root *root) {
}
}
- arrange_popup(root->layers.popup);
+ arrange_popups(root->layers.popup);
}
/**