mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
layer: s/layers_above_shell/layers_above_views/
This commit is contained in:
parent
f01071e72c
commit
73df50a1c8
1 changed files with 2 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue