|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XChGC.c,v 11.6 87/09/11 08:01:32 toddb Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: XChangeGC (dpy, gc, valuemask, values) ! 9: register Display *dpy; ! 10: GC gc; ! 11: unsigned long valuemask; ! 12: XGCValues *values; ! 13: { ! 14: LockDisplay(dpy); ! 15: ! 16: if (valuemask) _XUpdateGCCache (gc, valuemask, values); ! 17: ! 18: /* if any Resource ID changed, must flush */ ! 19: if (valuemask & (GCFont | GCTile | GCStipple)) _XFlushGCCache(dpy, gc); ! 20: UnlockDisplay(dpy); ! 21: SyncHandle(); ! 22: } ! 23:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.