From d37c7484ab881b0283fd4573235b24fe7d1e7af9 Mon Sep 17 00:00:00 2001 From: Midare Kiyura Date: Sat, 24 May 2008 16:04:33 -0500 Subject: Add xft support --- src/data.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/data.h') diff --git a/src/data.h b/src/data.h index 090c083..1d5a1a8 100644 --- a/src/data.h +++ b/src/data.h @@ -29,6 +29,10 @@ #include #include +#ifdef USE_XFT_FONT +#include +#endif + typedef struct rp_window rp_window; typedef struct rp_screen rp_screen; typedef struct rp_action rp_action; @@ -168,6 +172,11 @@ struct rp_screen /* The number of the currently focused frame. One for each screen so when you switch screens the focus doesn't get frobbed. */ int current_frame; + +#ifdef USE_XFT_FONT + XftFont *ft_font; + XftColor color; +#endif }; struct rp_action -- cgit v1.2.3