all repos — openbox @ dbdb330ad5d66030deff867f0b57ccf857497c98

openbox fork - make it a bit more like ryudo

use the bottom of the screen for botom snapping! :)
Dana Jansens danakj@orodu.net
commit

dbdb330ad5d66030deff867f0b57ccf857497c98

parent

a116f2c6310db702e377e9cd1a95c9a980aba5ae

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M plugins/resistance.cplugins/resistance.c

@@ -244,8 +244,9 @@ case Corner_TopLeft:

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: