all repos — openbox @ a4b2e3a86ed7d9a530b8fa2c7711e8fbe24be399

openbox fork - make it a bit more like ryudo

Fix resistance against struts, the resistance was always 0
Dana Jansens danakj@orodu.net
commit

a4b2e3a86ed7d9a530b8fa2c7711e8fbe24be399

parent

8ada991d829671ab5e6dd4c5526b6a0238ba6a16

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

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

@@ -162,7 +162,8 @@ ct = RECT_TOP(c->frame->area);

cr = RECT_RIGHT(c->frame->area); cb = RECT_BOTTOM(c->frame->area); - RECT_SET(desired_area, *x, *y, c->area.width, c->area.height); + RECT_SET(desired_area, c->frame->area.x, c->frame->area.y, + c->frame->area.width, c->frame->area.height); for (i = 0; i < screen_num_monitors; ++i) { parea = screen_physical_area_monitor(i);