From: Dana Jansens Date: Sat, 2 Jun 2007 20:48:18 +0000 (+0000) Subject: add tswidth to theme.h, but its always == fbwidth X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=285db844e6bbbd633a3e2a31c87d9bfe313fe952;p=chaz%2Fopenbox add tswidth to theme.h, but its always == fbwidth --- 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;