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

1.1     ! root        1: #include <X/mit-copyright.h>
        !             2: 
        !             3: /* $Header: XCreateWindow.c,v 10.5 86/04/22 15:27:38 jg Rel $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1985  */
        !             5: 
        !             6: #include "XlibInternal.h"
        !             7: Window XCreateWindow (parent, x, y, width, height, bdr_width, border, bgnd)
        !             8:        int x, y, width, height, bdr_width;
        !             9:        Window parent;
        !            10:        Pixmap border, bgnd;
        !            11: {
        !            12:        register Display *dpy;
        !            13:        register XReq *req;
        !            14:        XRep rep;
        !            15: 
        !            16:        GetReq(X_CreateWindow, parent);
        !            17:        req->params0 = height;
        !            18:        req->params1 = width;
        !            19:        req->params2 = x;
        !            20:        req->params3 = y;
        !            21:        req->param.l[2] = border;
        !            22:        req->param.l[3] = bgnd;
        !            23:        req->func = bdr_width;
        !            24:        if (!_XReply(dpy, &rep))
        !            25:            return(NULL);
        !            26:        return (rep.param.l[0]);
        !            27: }
        !            28: 

unix.superglobalmegacorp.com

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