use the top when snapping to the top
This commit is contained in:
parent
56713e45fb
commit
36b90c320d
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ static void resist_size(Client *c, int *w, int *h, Corner corn)
|
|||
dlt = lt - *h + c->frame->area.height;
|
||||
drb = rb;
|
||||
if (lt >= at && dlt < at && dlt >= at - resist.integer)
|
||||
*h = rb - al + 1;
|
||||
*h = rb - at + 1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue