diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-12 10:51:03 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-24 16:43:31 -0600 |
commit | 66828780094280064f5d3c0cb2982d28b0557e9e (patch) | |
tree | 2f6806dceb8455852930aed7e14748f8506e56a1 | |
parent | afacc9b0b50fe9c63700e62f7d2083c6edb9d17b (diff) |
call arrange() or resize() depending on c->isfloating in commitnotify
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -764,7 +764,7 @@ commitnotify(struct wl_listener *listener, void *data) if (c->mon && !wlr_box_empty(&box) && (box.width != c->geom.width - 2 * c->bw || box.height != c->geom.height - 2 * c->bw)) - arrange(c->mon); + c->isfloating ? resize(c, c->geom, 1) : arrange(c->mon); /* mark a pending resize as completed */ if (c->resize && (c->resize <= c->surface.xdg->current.configure_serial |