optimization!
This commit is contained in:
parent
00d8c8d379
commit
c951027519
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ static void resist(Client *c, int *x, int *y)
|
||||||
|
|
||||||
target = it->data;
|
target = it->data;
|
||||||
/* don't snap to self or non-visibles */
|
/* 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;
|
tl = target->frame->area.x - 1;
|
||||||
tt = target->frame->area.y - 1;
|
tt = target->frame->area.y - 1;
|
||||||
|
|
Loading…
Reference in a new issue