all repos — openbox @ 338798a408e52304cc560093247e496e73b20140

openbox fork - make it a bit more like ryudo

let desklets snap to eachother
Dana Jansens danakj@orodu.net
commit

338798a408e52304cc560093247e496e73b20140

parent

042b6bc5f7b94de4718d7baac02d84c9aa1d875e

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

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

@@ -62,7 +62,7 @@

/* 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; + if (target->below && !c->below && target->skip_taskbar) continue; tl = RECT_LEFT(target->frame->area) - 1; tt = RECT_TOP(target->frame->area) - 1;

@@ -220,7 +220,7 @@

/* 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; + if (target->below && !c->below && target->skip_taskbar) continue; tl = RECT_LEFT(target->frame->area); tr = RECT_RIGHT(target->frame->area);