diff options
author | DreamMaoMao <2523610504@qq.com> | 2025-03-12 16:17:44 +0800 |
---|---|---|
committer | Rutherther <rutherther@noreply.codeberg.org> | 2025-03-13 20:36:18 +0000 |
commit | 4456f4536a483c127909151a84d7b62da4f40e8b (patch) | |
tree | d0b0d5746dd046c4ede98590a4b4b0704aa483bb /dwl.c | |
parent | e0f531d5087cbd1223577c77262ec7476c157088 (diff) | |
download | dwl-4456f4536a483c127909151a84d7b62da4f40e8b.tar.gz dwl-4456f4536a483c127909151a84d7b62da4f40e8b.tar.bz2 dwl-4456f4536a483c127909151a84d7b62da4f40e8b.zip |
fix: shouldn't configure uninitialized layer_surfacemain
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |