all repos — openbox @ c95102751953d4c2800747b0ae12601ee6f414b6

openbox fork - make it a bit more like ryudo

optimization!
Dana Jansens danakj@orodu.net
commit

c95102751953d4c2800747b0ae12601ee6f414b6

parent

00d8c8d379391d7a47f09c343e4d72dfa53cd29b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M plugins/resistance.cplugins/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;