position titlebars better, was missing a bwidth
authorDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 04:19:22 +0000 (04:19 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 04:19:22 +0000 (04:19 +0000)
openbox/frame.c

index b85b10894ab34e8035abf9753cad3727c3d07f2d..e6974005cc367591229430a074db318094df6367 100644 (file)
@@ -399,7 +399,8 @@ static void layout_title(Frame *self)
     n = d = i = l = m = c = s = FALSE;
 
     /* figure out whats being shown, and the width of the label */
-    self->label_width = self->width - (ob_theme->bevel + 1) * 2;
+    self->label_width = self->width -
+        (ob_theme->bwidth + ob_theme->bevel + 1) * 2;
     for (lc = ob_theme->title_layout; *lc != '\0'; ++lc) {
        switch (*lc) {
        case 'N':