~ruther/dwl

4456f4536a483c127909151a84d7b62da4f40e8b — DreamMaoMao 7 months ago e0f531d
fix: shouldn't configure uninitialized layer_surface
1 files changed, 3 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +3 -0
@@ 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;