projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0aa29d
)
add tswidth to theme.h, but its always == fbwidth
author
Dana Jansens
<danakj@orodu.net>
Sat, 2 Jun 2007 20:48:18 +0000
(20:48 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 2 Jun 2007 20:48:18 +0000
(20:48 +0000)
render/theme.c
patch
|
blob
|
history
render/theme.h
patch
|
blob
|
history
diff --git
a/render/theme.c
b/render/theme.c
index e239efbe1b589886e9d03cd21d75c644a19b0f24..cdddba169f2ba47280df6c3a8f6f55063ed15038 100644
(file)
--- a/
render/theme.c
+++ b/
render/theme.c
@@
-207,6
+207,7
@@
RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
if (!FIND(int, L("dimensions","window","border"),
&theme->fbwidth, 0, 100))
theme->fbwidth = 1;
+ theme->tswidth = theme->fbwidth;
/* menu border width inherits from frame border width */
if (!FIND(int, L("dimensions","menu","border"),
diff --git
a/render/theme.h
b/render/theme.h
index c65fec58179b8429f412c0830ccf3993083e83b5..64c3abcf9e354af146e73f4c4a1b385028e5d708 100644
(file)
--- a/
render/theme.h
+++ b/
render/theme.h
@@
-41,6
+41,8
@@
struct _RrTheme {
gint paddingy;
gint handle_height;
gint fbwidth; /*!< frame border width */
+ gint tswidth; /*!< title separator width - between the titlebar and the
+ client */
gint mbwidth; /*!< menu border width */
gint cbwidthx;
gint cbwidthy;