]> Dogcows Code - chaz/openbox/commitdiff
optimization!
authorDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 09:39:09 +0000 (09:39 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 09:39:09 +0000 (09:39 +0000)
plugins/resistance.c

index 36fe269e28701a01b68e63acd236f1cbceb999ed..64dfe0e70a8ad73d3a74c25ad4a06acfa25bc751 100644 (file)
@@ -39,7 +39,7 @@ static void resist(Client *c, int *x, int *y)
 
             target = it->data;
             /* don't snap to self or non-visibles */
-            if (target == c || !target->frame->visible) continue; 
+            if (!target->frame->visible || target == c) continue; 
 
             tl = target->frame->area.x - 1;
             tt = target->frame->area.y - 1;
This page took 0.026785 seconds and 4 git commands to generate.