optimization!

This commit is contained in:
Dana Jansens 2003-03-21 09:39:09 +00:00
parent 00d8c8d379
commit c951027519

View 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;