From: Dana Jansens Date: Sat, 7 Sep 2002 06:26:20 +0000 (+0000) Subject: better ropshadow? X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=076ef8c10e1ac872d72d8e6bf1c93f37c9749526;p=chaz%2Fopenbox better ropshadow? --- diff --git a/src/Font.cc b/src/Font.cc index d4a6950d..af23906d 100644 --- a/src/Font.cc +++ b/src/Font.cc @@ -267,11 +267,11 @@ void BFont::drawString(Drawable d, int x, int y, const BColor &color, c.color.red = 0; c.color.green = 0; c.color.blue = 0; - c.color.alpha = 0x55 | 0x55 << 8; // transparent shadow + c.color.alpha = 0x49 | 0x49 << 8; // transparent shadow c.pixel = BlackPixel(_display, _screen->getScreenNumber()); - XftDrawStringUtf8(draw, &c, _xftfont, x - 1, _xftfont->ascent + y + 1, + XftDrawStringUtf8(draw, &c, _xftfont, x + 1, _xftfont->ascent + y + 1, (XftChar8 *) string.c_str(), string.size()); }