all repos — openbox @ 00d8c8d379391d7a47f09c343e4d72dfa53cd29b

openbox fork - make it a bit more like ryudo

syntax error!
Dana Jansens danakj@orodu.net
commit

00d8c8d379391d7a47f09c343e4d72dfa53cd29b

parent

921a711daddffc649738f14b10f7eb703df946bc

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

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