wmii/lib/libstuff/x11/drawing/setgccol.c
2010-06-04 19:38:35 -04:00

10 lines
216 B
C

/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
* See LICENSE file for license details.
*/
#include "../x11.h"
void
setgccol(Image *dst, Color c) {
XSetForeground(display, dst->gc, pixelvalue(c));
}