diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/resistance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/resistance.c b/plugins/resistance.c index a92047af..5c4d8174 100644 --- a/plugins/resistance.c +++ b/plugins/resistance.c @@ -244,8 +244,9 @@ static void resist_size(Client *c, int *w, int *h, Corner corn) case Corner_TopRight: dlt = lt; drb = rb + *h - c->frame->area.height; + g_message("dlt %d drb %d rb %d ab %d", dlt, drb, rb, ab); if (rb <= ab && drb > ab && drb <= ab + resist.integer) - *h = ar - lt + 1; + *h = ab - lt + 1; break; case Corner_BottomLeft: case Corner_BottomRight: |
