From d16264bf90da79427118a7a1cea97aea40e3214e Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 28 Nov 2012 14:14:44 +0000 Subject: replace hand rolled font_make() with XftFontOpenName() and merge into font_init(). --- calmwm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 64d8168..a8f1d9f 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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.159 2012/11/08 20:18:19 okan Exp $ + * $OpenBSD: calmwm.h,v 1.160 2012/11/28 14:14:44 okan Exp $ */ #ifndef _CALMWM_H_ @@ -446,9 +446,9 @@ int font_descent(struct screen_ctx *); void font_draw(struct screen_ctx *, const char *, int, Drawable, int, int); u_int font_height(struct screen_ctx *); -void font_init(struct screen_ctx *, const char *); +void font_init(struct screen_ctx *, const char *, + const char *); int font_width(struct screen_ctx *, const char *, int); -XftFont *font_make(struct screen_ctx *, const char *); void xev_loop(void); -- cgit v1.2.3-2-gb3c3