diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-27 21:34:18 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-27 21:59:27 -0600 |
commit | b5abbc37d8161c7ac8d05010e0effbc6af81718b (patch) | |
tree | d7d52a1fe33117ea124dc7f5e7537725035e0d32 /dwl.c | |
parent | 986beef5be32a2bead22ca85d19f4d6d7e5c0ce1 (diff) | |
download | dwl-b5abbc37d8161c7ac8d05010e0effbc6af81718b.tar.gz |
fix crash when re-mapping a client
Fixes: ab5c554d096ebca8446b7b1354c49be014b8b747
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |