]> Dogcows Code - chaz/openbox/commitdiff
use the top when snapping to the top
authorDana Jansens <danakj@orodu.net>
Sat, 29 Mar 2003 19:47:36 +0000 (19:47 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 29 Mar 2003 19:47:36 +0000 (19:47 +0000)
plugins/resistance.c

index 5c4d817406aa6d4b8d0d5575422aee29604f1dd2..30741d80b83fea40f5e2ef004b0dba320e783ae9 100644 (file)
@@ -253,7 +253,7 @@ static void resist_size(Client *c, int *w, int *h, Corner corn)
         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;
     }
 
This page took 0.023266 seconds and 4 git commands to generate.