From 36b90c320ddcaf4ccb6a03f3185fd380f626644a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 29 Mar 2003 19:47:36 +0000 Subject: [PATCH] use the top when snapping to the top --- plugins/resistance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/resistance.c b/plugins/resistance.c index 5c4d8174..30741d80 100644 --- a/plugins/resistance.c +++ b/plugins/resistance.c @@ -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; } -- 2.45.2