add tswidth to theme.h, but its always == fbwidth

This commit is contained in:
Dana Jansens 2007-06-02 20:48:18 +00:00
parent b0aa29db69
commit 285db844e6
2 changed files with 3 additions and 0 deletions

View file

@ -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"),

View file

@ -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;