mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
- let callers of font_draw figure out (and pass) the color instead of an
'active' flag. - use strlen() inside of font_draw; the only instance where it wasn't used happened to be ignored on a subsequent draw.
This commit is contained in:
@ -62,8 +62,8 @@ mousefunc_sweep_draw(struct client_ctx *cc)
|
||||
XMapWindow(X_Dpy, sc->menuwin);
|
||||
XClearWindow(X_Dpy, sc->menuwin);
|
||||
|
||||
font_draw(sc, asize, strlen(asize), sc->menuwin, 0, 0,
|
||||
sc->xftfont->ascent + 1);
|
||||
font_draw(sc, asize, sc->menuwin, CWM_COLOR_MENU_FONT,
|
||||
0, sc->xftfont->ascent + 1);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user