use the bottom of the screen for botom snapping! :)
This commit is contained in:
parent
a116f2c631
commit
dbdb330ad5
1 changed files with 2 additions and 1 deletions
|
@ -244,8 +244,9 @@ static void resist_size(Client *c, int *w, int *h, Corner corn)
|
||||||
case Corner_TopRight:
|
case Corner_TopRight:
|
||||||
dlt = lt;
|
dlt = lt;
|
||||||
drb = rb + *h - c->frame->area.height;
|
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)
|
if (rb <= ab && drb > ab && drb <= ab + resist.integer)
|
||||||
*h = ar - lt + 1;
|
*h = ab - lt + 1;
|
||||||
break;
|
break;
|
||||||
case Corner_BottomLeft:
|
case Corner_BottomLeft:
|
||||||
case Corner_BottomRight:
|
case Corner_BottomRight:
|
||||||
|
|
Loading…
Reference in a new issue