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:
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;
}