optimization!
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
plugins/resistance.c
→
plugins/resistance.c
@@ -39,7 +39,7 @@ int tl, tt, tr, tb; /* 1 past the target's edges on each side */
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;