Annotation of researchv9/X11/src/X.V11R1/lib/X/XSetBack.c, revision 1.1

1.1     ! root        1: #include "copyright.h"
        !             2: 
        !             3: /* $Header: XSetBack.c,v 11.7 87/09/11 08:06:43 toddb Exp $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1986  */
        !             5: 
        !             6: #include "Xlibint.h"
        !             7: 
        !             8: XSetBackground (dpy, gc, background)
        !             9: register Display *dpy;
        !            10: GC gc;
        !            11: unsigned long background; /* CARD32 */
        !            12: {
        !            13:     LockDisplay(dpy);
        !            14:     if (gc->values.background != background) {
        !            15:        gc->values.background = background;
        !            16:        gc->dirty |= GCBackground;
        !            17:     }
        !            18:     UnlockDisplay(dpy);
        !            19:     SyncHandle();
        !            20: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.