diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-01-01 00:51:01 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-01-01 00:51:01 -0600 |
commit | f3c4f723147b40fb1284083f3d7dac988c52d162 (patch) | |
tree | 02e27a2b8eec6ade866d68d7fb466df695078708 | |
parent | 6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f (diff) |
fix posible NULL-dereference in wl_surface.commit handler
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -731,7 +731,7 @@ commitnotify(struct wl_listener *listener, void *data) { Client *c = wl_container_of(listener, c, commit); - if (client_surface(c)->mapped) + if (client_surface(c)->mapped && c->mon) resize(c, c->geom, (c->isfloating && !c->isfullscreen)); /* mark a pending resize as completed */ |