aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiDe Zhang <zccrs@live.com>2023-10-16 18:52:56 +0800
committerKirill Primak <vyivel@eclair.cafe>2023-10-16 11:14:44 +0000
commitb560f362073f7981c15f820488441e50f697d306 (patch)
treef0fa225e4d69055d794362577f5b47acdde43f9d
parent6114dd6a838c1c4ebeb5c8f2a66f7c1e628d11d5 (diff)
Fix output layers order error on wayland backend
-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;