all repos — openbox @ 62a652f6f5630460ded6ae0be7fd55da25e42695

openbox fork - make it a bit more like ryudo

fix when 1or2px splitvertical
Dana Jansens danakj@orodu.net
commit

62a652f6f5630460ded6ae0be7fd55da25e42695

parent

44fa95eea8d8229ff1f2041160ee68c67475893f

2 files changed, 5 insertions(+), 3 deletions(-)

jump to
M render/gradient.crender/gradient.c

@@ -459,7 +459,10 @@ y2sz = (h < 3 ? 0 : (h % 2 ? 3 : 2));

y3sz = MAX(h/2 - 1, 0); SETUP(y1, primary_light, sf->primary, y1sz); - SETUP(y2, sf->primary, sf->secondary, y2sz); + if (y2sz) { + SETUP(y2, sf->primary, sf->secondary, y2sz); + NEXT(y2); /* skip the first one, its the same as the last of y1 */ + } SETUP(y3, sf->secondary, secondary_light, y3sz); for (y1 = y1sz; y1 > 0; --y1) {

@@ -470,7 +473,6 @@

NEXT(y1); } - NEXT(y2); /* skip the first one, its the same as the last of y1 */ for (y2 = y2sz; y2 > 0; --y2) { current = COLOR(y2); for (x = w - 1; x >= 0; --x)
M themes/Onyx/openbox-3/themercthemes/Onyx/openbox-3/themerc

@@ -40,7 +40,7 @@ window.inactive.label.bg: parentrelative

window.inactive.label.text.color: #606060 !! Handle -window.active.handle.bg: solid flat +window.active.handle.bg: gradient flat splitvertical window.active.handle.bg.color: #303030 window.inactive.handle.bg: solid flat window.inactive.handle.bg.color: #b0b0b0