mirror of
https://github.com/iritmaximus/dwl.git
synced 2026-10-12 19:13:43 +03:00
fix crash when re-mapping a client
Fixes: ab5c554d09
(cherry picked from commit b5abbc37d8161c7ac8d05010e0effbc6af81718b)
This commit is contained in:
@@ -2183,7 +2183,7 @@ resize(Client *c, struct wlr_box geo, int interact)
|
|||||||
struct wlr_box *bbox;
|
struct wlr_box *bbox;
|
||||||
struct wlr_box clip;
|
struct wlr_box clip;
|
||||||
|
|
||||||
if (!c->mon || !c->scene)
|
if (!c->mon || !client_surface(c)->mapped)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bbox = interact ? &sgeom : &c->mon->w;
|
bbox = interact ? &sgeom : &c->mon->w;
|
||||||
|
|||||||
Reference in New Issue
Block a user