aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-27 18:53:15 +0100
committeremersion <contact@emersion.fr>2018-07-29 14:33:26 +0100
commita0dd9776172796f65b0fce0a8e5cfb66bdb2e2e5 (patch)
tree118ca09465a6a826f47beb57a9012d921c71bac0 /sway/desktop/render.c
parentdbf6dd0daec9e712a002c3e01accbd0fee769fac (diff)
wip: redesign output_layer_for_each_surface iterator
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index 1270b7cf..35dc3edc 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -155,8 +155,8 @@ static void render_layer(struct sway_output *output,
.damage = damage,
.alpha = 1.0f,
};
- output_layer_for_each_surface(layer_surfaces, &data.root_geo,
- render_surface_iterator, &data);
+ output_layer_for_each_surface(output, layer_surfaces,
+ render_surface_iterator2, &data);
}
#ifdef HAVE_XWAYLAND