projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
520787d
)
add client.padding.height
author
Dana Jansens
<danakj@orodu.net>
Sat, 2 Jun 2007 20:36:33 +0000
(20:36 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 2 Jun 2007 20:36:33 +0000
(20:36 +0000)
render/theme.c
patch
|
blob
|
history
diff --git
a/render/theme.c
b/render/theme.c
index 79b41f99171a1413fd1f392f97b42ee1964edc41..1dd20b73838ef5f9d0c7d76152a54746498a78b4 100644
(file)
--- 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,