aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-09 12:45:42 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-09 12:45:42 -0500
commita32db11f16fae3f57af3795d2463996b95e7ba1c (patch)
tree9029cfca6dd1a6885be1d68749bd32186f468fab /dwl.c
parent948fdcf709e86f380eef26ee529683d2c396e58a (diff)
set client bounds at resize
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 852eecf..b56abd7 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1582,6 +1582,7 @@ resize(Client *c, int x, int y, int w, int h, int interact)
{
int min_width = 0, min_height = 0;
struct wlr_box *bbox = interact ? &sgeom : &c->mon->w;
+ client_set_bounds(c, w, h);
client_min_size(c, &min_width, &min_height);
c->geom.x = x;
c->geom.y = y;