fix crash when re-mapping a client Fixes: ab5c554d096ebca8446b7b1354c49be014b8b747
1 files changed, 1 insertions(+), 1 deletions(-) M dwl.c
M dwl.c => dwl.c +1 -1
@@ 2183,7 2183,7 @@ resize(Client *c, struct wlr_box geo, int interact) struct wlr_box *bbox; struct wlr_box clip; - if (!c->mon || !c->scene) + if (!c->mon || !client_surface(c)->mapped) return; bbox = interact ? &sgeom : &c->mon->w;