Mercurial > emacs
diff lwlib/lwlib-utils.c @ 32607:00d2748a616a
(x_color_cells, x_query_colors, x_query_color): New
functions.
(x_alloc_nearest_color): Use it to reduce calls to XQueryColors
which can be slow.
(x_copy_color, x_alloc_lighter_color): Likewise.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 18 Oct 2000 11:58:07 +0000 |
parents | 3f00bdb24c1f |
children | 7fb1caba0f51 |