syntax error!
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
plugins/resistance.c
→
plugins/resistance.c
@@ -38,8 +38,8 @@ Client *target;
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;