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

index c7f47c3e07bdec1c907fa0d7dd052805109982e6..36fe269e28701a01b68e63acd236f1cbceb999ed 100644 (file)
@@ -38,8 +38,8 @@ static void resist(Client *c, int *x, int *y)
             int tl, tt, tr, tb; /* 1 past the target's edges on each side */
 
             target = it->data;
-            if (target == c) continue; /* don't snap to self */
-            if (!target->visible) continue; /* don't snap to non-visibles */
+            /* don't snap to self or non-visibles */
+            if (target == c || !target->frame->visible) continue; 
 
             tl = target->frame->area.x - 1;
             tt = target->frame->area.y - 1;
This page took 0.023942 seconds and 4 git commands to generate.