From 285db844e6bbbd633a3e2a31c87d9bfe313fe952 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 2 Jun 2007 20:48:18 +0000 Subject: [PATCH] add tswidth to theme.h, but its always == fbwidth --- render/theme.c | 1 + render/theme.h | 2 ++ 2 files changed, 3 insertions(+) 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; -- 2.45.2