Annotation of 43BSDTahoe/new/X/Xlib/XFreePixmap.c, revision 1.1

1.1     ! root        1: #include <X/mit-copyright.h>
        !             2: 
        !             3: /* $Header: XFreePixmap.c,v 10.5 86/02/01 15:34:23 tony Rel $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1985  */
        !             5: 
        !             6: #include "XlibInternal.h"
        !             7: XFreePixmap (pixmap)
        !             8:        register Pixmap pixmap;
        !             9: {
        !            10:        register Display *dpy = _XlibCurrentDisplay;
        !            11:        register XReq *req;
        !            12:        
        !            13:        if (pixmap == dpy->black || pixmap == dpy->white)
        !            14:            return;  /* don't free the constant tile pixmaps! */
        !            15: 
        !            16:        GetReq(X_FreePixmap, 0);
        !            17:        req->param.l[0] = pixmap;
        !            18:        return;
        !            19: }
        !            20: 

unix.superglobalmegacorp.com

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