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

1.1     ! root        1: #include "copyright.h"
        !             2: 
        !             3: /* $Header: XSelInput.c,v 11.5 87/09/11 08:06:37 toddb Exp $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1986  */
        !             5: 
        !             6: #include "Xlibint.h"
        !             7: 
        !             8: XSelectInput (dpy, w, mask)
        !             9:     register Display *dpy;
        !            10:     Window w;
        !            11:     unsigned long mask;
        !            12: {
        !            13:     register xChangeWindowAttributesReq *req;
        !            14: 
        !            15:     LockDisplay(dpy);
        !            16:     GetReqExtra (ChangeWindowAttributes, 4, req);
        !            17:     req->window = w;
        !            18:     req->valueMask = CWEventMask;
        !            19:     * (unsigned long *) (req + 1) = mask;
        !            20:     UnlockDisplay(dpy);
        !            21:     SyncHandle();
        !            22: }
        !            23: 

unix.superglobalmegacorp.com

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