From 5ce9867b03047bda0250f6f390329bce15f97e81 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 8 Jun 2003 04:19:22 +0000 Subject: [PATCH] position titlebars better, was missing a bwidth --- openbox/frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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': -- 2.34.1