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