From: Dana Jansens Date: Sun, 8 Jun 2003 04:19:22 +0000 (+0000) Subject: position titlebars better, was missing a bwidth X-Git-Tag: gl-oldtheme~37 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5ce9867b03047bda0250f6f390329bce15f97e81;p=dana%2Fopenbox.git position titlebars better, was missing a bwidth --- diff --git a/openbox/frame.c b/openbox/frame.c index b85b1089..e6974005 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -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':