all repos — openbox @ 1418e9edc4926a0061fa3c2c8d036a33acd55491

openbox fork - make it a bit more like ryudo

dont snap to self
Dana Jansens danakj@orodu.net
commit

1418e9edc4926a0061fa3c2c8d036a33acd55491

parent

23ee7b9a934d5aef2835b684edb9192fa11feb06

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

jump to
M plugins/resistance.cplugins/resistance.c

@@ -38,6 +38,7 @@ 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 */ tl = target->frame->area.x - 1; tt = target->frame->area.y - 1;