|
|
1.1 root 1: #include "copyright.h"
2:
3: /* $Header: XSetFore.c,v 11.7 87/09/11 08:06:56 toddb Exp $ */
4: /* Copyright Massachusetts Institute of Technology 1986 */
5:
6: #include "Xlibint.h"
7:
8: XSetForeground (dpy, gc, foreground)
9: register Display *dpy;
10: GC gc;
11: unsigned long foreground; /* CARD32 */
12: {
13: LockDisplay(dpy);
14: if (gc->values.foreground != foreground) {
15: gc->values.foreground = foreground;
16: gc->dirty |= GCForeground;
17: }
18: UnlockDisplay(dpy);
19: SyncHandle();
20: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.