From: Dana Jansens Date: Sat, 2 Jun 2007 20:36:33 +0000 (+0000) Subject: add client.padding.height X-Git-Tag: openbox-3_3_995-RELEASE~6 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=205c75ef43cdce211651911586fdf095acccc470;p=dana%2Fopenbox.git add client.padding.height --- diff --git a/render/theme.c b/render/theme.c index 79b41f99..1dd20b73 100644 --- a/render/theme.c +++ b/render/theme.c @@ -190,7 +190,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, if (!read_int(db, "window.client.padding.width", &theme->cbwidthx) || theme->cbwidthx < 0 || theme->cbwidthx > 100) theme->cbwidthx = theme->paddingx; - theme->cbwidthy = theme->cbwidthx; + if (!read_int(db, "window.client.padding.height", &theme->cbwidthy) || + theme->cbwidthy < 0 || theme->cbwidthy > 100) + theme->cbwidthy = theme->cbwidthx; /* load colors */ if (!read_color(db, inst,