mirror of
https://github.com/labwc/labwc.git
synced 2026-03-12 05:33:53 -04:00
parent
bfa3e54c9d
commit
fbb92e2e30
1 changed files with 3 additions and 0 deletions
|
|
@ -46,6 +46,9 @@ arrange_one_layer(const struct wlr_box *full_area, struct wlr_box *usable_area,
|
||||||
wl_list_for_each(node, &tree->children, link) {
|
wl_list_for_each(node, &tree->children, link) {
|
||||||
struct lab_layer_surface *surface = node_layer_surface_from_node(node);
|
struct lab_layer_surface *surface = node_layer_surface_from_node(node);
|
||||||
struct wlr_scene_layer_surface_v1 *scene = surface->scene_layer_surface;
|
struct wlr_scene_layer_surface_v1 *scene = surface->scene_layer_surface;
|
||||||
|
if (!scene->layer_surface->initialized) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (!!scene->layer_surface->current.exclusive_zone != exclusive) {
|
if (!!scene->layer_surface->current.exclusive_zone != exclusive) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue