]> Dogcows Code - chaz/openbox/commitdiff
add tswidth to theme.h, but its always == fbwidth
authorDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 20:48:18 +0000 (20:48 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 20:48:18 +0000 (20:48 +0000)
render/theme.c
render/theme.h

index e239efbe1b589886e9d03cd21d75c644a19b0f24..cdddba169f2ba47280df6c3a8f6f55063ed15038 100644 (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"),
index c65fec58179b8429f412c0830ccf3993083e83b5..64c3abcf9e354af146e73f4c4a1b385028e5d708 100644 (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;
This page took 0.026663 seconds and 4 git commands to generate.