aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/wayland/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index ab6e3eef..bc150845 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -515,6 +515,8 @@ static bool commit_layers(struct wlr_wl_output *output,
if (!output_layer_commit(output, layer, &layers[i])) {
return false;
}
+
+ prev_layer = layer;
}
return true;