summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorShawn Betts <sabetts@gmail.com>2009-04-30 12:50:26 -0700
committerShawn Betts <sabetts@gmail.com>2009-04-30 12:52:05 -0700
commit3caa93e319499e77f63e25b2ef4a15c276815ca8 (patch)
tree6c6967f62a895ed3098778e3356f2161cebfc217 /src/main.c
parentd5e70ba5716dd5b807f7550f9924711365116a8b (diff)
downloadratpoison-3caa93e319499e77f63e25b2ef4a15c276815ca8.zip
fix 'set fgcolor' for xft. Change screen's ft_font and color slots to xft_font and xft_color.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index a90ccf2..3c05152 100644
--- a/src/main.c
+++ b/src/main.c
@@ -774,11 +774,11 @@ free_screen (rp_screen *s)
XDestroyWindow (dpy, s->help_window);
#ifdef USE_XFT_FONT
- if (s->ft_font)
+ if (s->xft_font)
{
XftColorFree (dpy, DefaultVisual (dpy, s->screen_num),
- DefaultColormap (dpy, s->screen_num), &s->color);
- XftFontClose (dpy, s->ft_font);
+ DefaultColormap (dpy, s->screen_num), &s->xft_color);
+ XftFontClose (dpy, s->xft_font);
}
#endif