summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalanix <davidospanov@gmail.com>2021-08-21 01:53:38 +0200
committerPalanix <davidospanov@gmail.com>2021-08-21 01:53:38 +0200
commit3273f749ea86d3e7178955a0771d6783deae20e4 (patch)
treeb3d3b5d60fcf4e0148a587f3b6a9bc4b1c9c03e3
parentd4ce92a7b5310c53afcfe7e47870d06a3c146c2c (diff)
wlr_layer_surface_v1_close has been replaced by wlr_layer_surface_v1_destroy
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index a2a0b69..3b06948 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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;