mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-04-17 03:53:16 -07:00
fix: shouldn't configure uninitialized layer_surface
This commit is contained in:
parent
e0f531d508
commit
4456f4536a
1 changed files with 3 additions and 0 deletions
3
dwl.c
3
dwl.c
|
@ -551,6 +551,9 @@ arrangelayer(Monitor *m, struct wl_list *list, struct wlr_box *usable_area, int
|
|||
wl_list_for_each(l, list, link) {
|
||||
struct wlr_layer_surface_v1 *layer_surface = l->layer_surface;
|
||||
|
||||
if (!layer_surface->initialized)
|
||||
continue;
|
||||
|
||||
if (exclusive != (layer_surface->current.exclusive_zone > 0))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue