summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index d0f5afc..f061ebe 100644
--- a/dwl.c
+++ b/dwl.c
@@ -784,6 +784,8 @@ commitnotify(struct wl_listener *listener, void *data)
/* mark a pending resize as completed */
if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)
c->resize = 0;
+ else if (c->resize)
+ c->resize = client_set_size(c, c->geom.width - 2 * c->bw, c->geom.height - 2 * c->bw);
}
void