Mercurial > hg > xemacs-beta
diff lwlib/lwlib-colors.h @ 5918:cb65bfaf7110 default
Speed up XEmacs on X.
Avoid many calls to XQueryColor.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Fri, 27 Mar 2015 16:05:15 +0100 |
parents | 308d34e9f07d |
children |
line wrap: on
line diff
--- a/lwlib/lwlib-colors.h Thu Jun 11 16:09:11 2015 +0100 +++ b/lwlib/lwlib-colors.h Fri Mar 27 16:05:15 2015 +0100 @@ -52,6 +52,8 @@ XftColor xft_convert_color (Display *dpy, Colormap cmap, Visual *visual, int c, int dim); +XftColor xft_convert_color_1 (Display *dpy, Colormap cmap, Visual *visual, + XColor *pcolor, int dim); #endif /* HAVE_XFT */ #endif /* INCLUDED_lwlib_colors_h_ */