|
|
1.1 root 1: #include "copyright.h"
2:
3: /* $Header: XSetFunc.c,v 11.7 87/09/11 08:06:59 toddb Exp $ */
4: /* Copyright Massachusetts Institute of Technology 1986 */
5:
6: #include "Xlibint.h"
7:
8: XSetFunction (dpy, gc, function)
9: register Display *dpy;
10: GC gc;
11: int function;
12: {
13: LockDisplay(dpy);
14: if (gc->values.function != function) {
15: gc->values.function = function;
16: gc->dirty |= GCFunction;
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.