Merge pull request #145 from PalanixYT/wlroots-next

wlr_layer_surface_v1_close has been replaced by wlr_layer_surface_v1_…
This commit is contained in:
Devin J. Pohly 2021-08-23 11:58:02 -04:00 committed by GitHub
commit 772c0fe1bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
dwl.c
View file

@ -553,7 +553,7 @@ arrangelayer(Monitor *m, struct wl_list *list, struct wlr_box *usable_area, int
box.y -= state->margin.bottom;
}
if (box.width < 0 || box.height < 0) {
wlr_layer_surface_v1_close(wlr_layer_surface);
wlr_layer_surface_v1_destroy(wlr_layer_surface);
continue;
}
layersurface->geo = box;