On Mon, Feb 24, 2003 at 12:51:25PM +0000, Tom Payne wrote: > On Mon, Feb 24, 2003 at 12:14:30PM +0100, Per Olofsson wrote: > > Xft doesn't work. The attached patch should fix it. > > There's a COLOR_PIXEL macro defined in wmcore/common.h that should be used > to convert from Ion's WColor (which is either a Pixel or an XftColor) to a > Pixel. So the first part of your patch should be: > > XSetWindowBackground(wglobal.dpy, input->win.win, > COLOR_PIXEL(GRDATA_OF(input)->input_colors.bg)); > > and you don't need the #ifdef CF_XFT.
You're right, I forgot that. Thanks. Hmm.. perhaps these things should be abstracted away better? /Pelle
