- 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:
2
calmwm.h
2
calmwm.h
@@ -447,7 +447,7 @@ void conf_mousebind(struct conf *, char *, char *);
|
||||
void conf_screen(struct screen_ctx *);
|
||||
void conf_ungrab(struct conf *, struct keybinding *);
|
||||
|
||||
void font_draw(struct screen_ctx *, const char *, int,
|
||||
void font_draw(struct screen_ctx *, const char *,
|
||||
Drawable, int, int, int);
|
||||
void font_init(struct screen_ctx *, const char *,
|
||||
const char **);
|
||||
|
||||
Reference in New Issue
Block a user