mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 11:46:31 +00:00
fix crash when re-mapping a client
Fixes:ab5c554d09
(cherry picked from commitb5abbc37d8
)
This commit is contained in:
parent
5bbb0ab404
commit
cb01023db6
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue