add tswidth to theme.h, but its always == fbwidth
This commit is contained in:
parent
b0aa29db69
commit
285db844e6
2 changed files with 3 additions and 0 deletions
|
@ -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"),
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue