diff options
author | okan | 2013-05-14 12:35:56 +0000 |
---|---|---|
committer | okan | 2013-05-14 12:35:56 +0000 |
commit | bd1dad402457696bc85c71879328d3c3db146164 (patch) | |
tree | 758002659a156353bce0371de43363f407bac737 /calmwm.h | |
parent | f33b33868923e469c45b593d6699ed2f297daf3b (diff) | |
download | cwm-bd1dad402457696bc85c71879328d3c3db146164.tar.gz |
- 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.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.198 2013/05/11 22:01:07 okan Exp $ + * $OpenBSD: calmwm.h,v 1.199 2013/05/14 12:35:56 okan Exp $ */ #ifndef _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 **); |