From 33e55dbc4693b251854663f7070e4d7d2bc0468c Mon Sep 17 00:00:00 2001 From: ARDiDo <90479315+ARDiDo@users.noreply.github.com> Date: Sat, 30 Oct 2021 10:20:06 -0400 Subject: [PATCH] output: update layer surfaces on output geometry changes --- src/output.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/output.c b/src/output.c index c8a44f69..cad131e6 100644 --- a/src/output.c +++ b/src/output.c @@ -1150,6 +1150,12 @@ handle_output_layout_change(struct wl_listener *listener, void *data) wlr_log(WLR_ERROR, "wlr_output_manager_v1_set_configuration()"); } + struct output *output; + wl_list_for_each(output, &server->outputs, link) { + if (output) { + arrange_layers(output); + } + } } } -- 2.52.0