]> git.mdlowis.com Git - proto/labwc.git/commitdiff
output: update layer surfaces on output geometry changes
authorARDiDo <90479315+ARDiDo@users.noreply.github.com>
Sat, 30 Oct 2021 14:20:06 +0000 (10:20 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 30 Oct 2021 15:07:10 +0000 (16:07 +0100)
src/output.c

index c8a44f694dc42a2f10972608d5a16c4f804e78be..cad131e69729fe269bc6a226dfe93c592b58b215 100644 (file)
@@ -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);
+                       }
+               }
        }
 }