set client bounds at resize

This commit is contained in:
Leonardo Hernández Hernández
2022-06-09 12:45:42 -05:00
parent 948fdcf709
commit a32db11f16
2 changed files with 11 additions and 0 deletions

1
dwl.c
View File

@@ -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;