wlr_layer_surface_v1_close has been replaced by wlr_layer_surface_v1_destroy
parent
d4ce92a7b5
commit
3273f749ea
2
dwl.c
2
dwl.c
|
@ -553,7 +553,7 @@ arrangelayer(Monitor *m, struct wl_list *list, struct wlr_box *usable_area, int
|
||||||
box.y -= state->margin.bottom;
|
box.y -= state->margin.bottom;
|
||||||
}
|
}
|
||||||
if (box.width < 0 || box.height < 0) {
|
if (box.width < 0 || box.height < 0) {
|
||||||
wlr_layer_surface_v1_close(wlr_layer_surface);
|
wlr_layer_surface_v1_destroy(wlr_layer_surface);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
layersurface->geo = box;
|
layersurface->geo = box;
|
||||||
|
|
Loading…
Reference in New Issue