all repos — openbox @ a5c6eb81adb67756848b4b5fa053eea302d06225

openbox fork - make it a bit more like ryudo

let you specify the padding y and x independently
Dana Jansens danakj@orodu.net
commit

a5c6eb81adb67756848b4b5fa053eea302d06225

parent

29e94a9e59bc2bf7269a0c87acbfa61615ba703d

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

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

@@ -186,7 +186,9 @@ theme->handle_height = 6;

if (!read_int(db, "padding.width", &theme->paddingx) || theme->paddingx < 0 || theme->paddingx > 100) theme->paddingx = 3; - theme->paddingy = theme->paddingx; + if (!read_int(db, "padding.height", &theme->paddingy) || + theme->paddingy < 0 || theme->paddingy > 100) + theme->paddingy = theme->paddingx; if (!read_int(db, "border.width", &theme->fbwidth) || theme->fbwidth < 0 || theme->fbwidth > 100) theme->fbwidth = 1;