diff options
author | Shawn Betts <sabetts@gmail.com> | 2009-04-30 12:50:26 -0700 |
---|---|---|
committer | Shawn Betts <sabetts@gmail.com> | 2009-04-30 12:52:05 -0700 |
commit | 3caa93e319499e77f63e25b2ef4a15c276815ca8 (patch) | |
tree | 6c6967f62a895ed3098778e3356f2161cebfc217 /src/main.c | |
parent | d5e70ba5716dd5b807f7550f9924711365116a8b (diff) | |
download | ratpoison-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |