From: Dana Jansens Date: Sat, 29 Mar 2003 09:56:12 +0000 (+0000) Subject: use the bottom of the screen for botom snapping! :) X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=dbdb330ad5d66030deff867f0b57ccf857497c98;p=chaz%2Fopenbox use the bottom of the screen for botom snapping! :) --- 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: