shod

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c9d9707e7d57118338a9e08bd130661e561597c5
parent 43c2a82f736c97280dda1b07abda703c8fcf1471
Author: Lucas de Sena <lucas@seninha.org>
Date:   Sat,  8 Apr 2023 17:36:45 -0300

fix title color

Diffstat:
Mxdraw.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xdraw.c b/xdraw.c @@ -165,9 +165,9 @@ drawtitle(Drawable pix, const char *text, int w, int drawlines, int style, int p top = theme.colors[style][pressed ? COLOR_DARK : COLOR_LIGHT].pixel; bot = theme.colors[style][pressed ? COLOR_LIGHT : COLOR_DARK].pixel; if (ismenu || drawlines) - color = &theme.colors[style][COLOR_LIGHT]; - else color = &theme.colors[STYLE_OTHER][COLOR_FG]; + else + color = &theme.colors[style][COLOR_LIGHT]; draw = XftDrawCreate(dpy, pix, visual, colormap); len = strlen(text); XftTextExtentsUtf8(dpy, theme.font, text, len, &box);