From b560f362073f7981c15f820488441e50f697d306 Mon Sep 17 00:00:00 2001 From: JiDe Zhang Date: Mon, 16 Oct 2023 18:52:56 +0800 Subject: Fix output layers order error on wayland backend --- backend/wayland/output.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3