all repos — openbox @ 042b6bc5f7b94de4718d7baac02d84c9aa1d875e

openbox fork - make it a bit more like ryudo

don't snap to below+skiptaskbar (desklets)
Dana Jansens danakj@orodu.net
commit

042b6bc5f7b94de4718d7baac02d84c9aa1d875e

parent

4e0ba65d30f537cb223a402e44c5bdd976f47f2a

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

jump to
M openbox/resist.copenbox/resist.c

@@ -61,6 +61,8 @@ target = it->data;

/* don't snap to self or non-visibles */ if (!target->frame->visible || target == c) continue; + /* don't snap to windows set to below and skip_taskbar (desklets) */ + if (target->below && target->skip_taskbar) continue; tl = RECT_LEFT(target->frame->area) - 1; tt = RECT_TOP(target->frame->area) - 1;

@@ -217,6 +219,8 @@ target = it->data;

/* don't snap to invisibles or ourself */ if (!target->frame->visible || target == c) continue; + /* don't snap to windows set to below and skip_taskbar (desklets) */ + if (target->below && target->skip_taskbar) continue; tl = RECT_LEFT(target->frame->area); tr = RECT_RIGHT(target->frame->area);