]> git.mdlowis.com Git - proto/labwc.git/commitdiff
layer: s/layers_above_shell/layers_above_views/
authorJohan Malm <jgm323@gmail.com>
Wed, 28 Dec 2022 17:16:17 +0000 (17:16 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 29 Dec 2022 22:18:08 +0000 (23:18 +0100)
src/layers.c

index 5ee8e7898a3be44b65659cb4beade6cc98009d41..818ea72d1db82bcdebccdfa8de5f8840b71809c2 100644 (file)
@@ -72,12 +72,11 @@ layers_arrange(struct output *output)
        memcpy(&output->usable_area, &usable_area, sizeof(struct wlr_box));
 
        /* Find topmost keyboard interactive layer, if such a layer exists */
-       uint32_t layers_above_shell[] = {
+       uint32_t layers_above_views[] = {
                ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY,
                ZWLR_LAYER_SHELL_V1_LAYER_TOP,
        };
-       size_t nlayers = sizeof(layers_above_shell)
-               / sizeof(layers_above_shell[0]);
+       size_t nlayers = sizeof(layers_above_views) / sizeof(layers_above_views[0]);
        struct lab_layer_surface *topmost = NULL;
        struct wlr_scene_node *node;
        for (size_t i = 0; i < nlayers; ++i) {