From: Dana Jansens Date: Fri, 20 Jun 2003 02:39:20 +0000 (+0000) Subject: take the bevel width into account for the width available X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=62240d2b0ffc75d2a87117e2e0e282674a965495;p=chaz%2Fopenbox take the bevel width into account for the width available --- diff --git a/render/font.c b/render/font.c index 27474304..23607354 100644 --- a/render/font.c +++ b/render/font.c @@ -115,7 +115,7 @@ void font_draw(XftDraw *d, TextureText *t, Rect *area) /* center vertically */ y = area->y + (area->height - font_height(t->font, t->shadow, t->offset)) / 2; - w = area->width; + w = area->width - theme-bevel * 2; h = area->height; text = g_string_new(t->string);