summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/theme.c1
-rw-r--r--render/theme.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/render/theme.c b/render/theme.c
index e239efbe..cdddba16 100644
--- 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 c65fec58..64c3abcf 100644
--- 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;