On Wed, Sep 01, 2010 at 07:57:03PM +0300, Henri Mannerberg wrote:
A rewrite of the highlight colour handling is probably in order, as it looks
rather messy atm (if anyone feels like taking a swing at it, go right ahead! :)

You may want to have a look at the following from wmii:

    lib/libstuff/x11/colors/parsecolor.c
    lib/libstuff/x11/colors/xftcolor.c
    lib/libstuff/x11/xft.c

There's really no good way to deal with colormaps in X11 except using RENDER everywhere, so it will always come down to a hack, in my opinion.

--
Kris Maglione

You can get into a habit of thought in which you enjoy making fun of
all those other people who don’t see things as clearly as you do.  We
have to guard carefully against it.
        --Carl Sagan


Reply via email to