diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-29 19:47:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-29 19:47:36 +0000 |
| commit | 36b90c320ddcaf4ccb6a03f3185fd380f626644a (patch) | |
| tree | f511e410525f9ed001c66623ea1eecb5622c66ce /plugins | |
| parent | 56713e45fb9a1d73cc16c69728f78eb6ab4f7b55 (diff) | |
use the top when snapping to the top
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/resistance.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
