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"),
|
if (!FIND(int, L("dimensions","window","border"),
|
||||||
&theme->fbwidth, 0, 100))
|
&theme->fbwidth, 0, 100))
|
||||||
theme->fbwidth = 1;
|
theme->fbwidth = 1;
|
||||||
|
theme->tswidth = theme->fbwidth;
|
||||||
|
|
||||||
/* menu border width inherits from frame border width */
|
/* menu border width inherits from frame border width */
|
||||||
if (!FIND(int, L("dimensions","menu","border"),
|
if (!FIND(int, L("dimensions","menu","border"),
|
||||||
|
|
|
@ -41,6 +41,8 @@ struct _RrTheme {
|
||||||
gint paddingy;
|
gint paddingy;
|
||||||
gint handle_height;
|
gint handle_height;
|
||||||
gint fbwidth; /*!< frame border width */
|
gint fbwidth; /*!< frame border width */
|
||||||
|
gint tswidth; /*!< title separator width - between the titlebar and the
|
||||||
|
client */
|
||||||
gint mbwidth; /*!< menu border width */
|
gint mbwidth; /*!< menu border width */
|
||||||
gint cbwidthx;
|
gint cbwidthx;
|
||||||
gint cbwidthy;
|
gint cbwidthy;
|
||||||
|
|
Loading…
Reference in a new issue