diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-08-14 13:10:14 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-08-27 23:09:46 -0600 |
commit | bbc00d88a45df249009c9946dfd88285eecac0c5 (patch) | |
tree | caa7e1c4bb23ee59f23a0c8f3ac4bfbc7797d87f /dwl.c | |
parent | 54b546121b3221e02d31a2af0bb0ce859376ab93 (diff) | |
download | dwl-bbc00d88a45df249009c9946dfd88285eecac0c5.tar.gz |
remove a redundant check
resize() now does the same check
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -809,8 +809,7 @@ commitnotify(struct wl_listener *listener, void *data) return; } - if (client_surface(c)->mapped && c->mon) - resize(c, c->geom, (c->isfloating && !c->isfullscreen)); + resize(c, c->geom, (c->isfloating && !c->isfullscreen)); /* mark a pending resize as completed */ if (c->resize && c->resize <= c->surface.xdg->current.configure_serial) |