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

1.1     ! root        1: #include "copyright.h"
        !             2: 
        !             3: /* $Header: XRestackWs.c,v 1.6 87/09/11 08:09:32 toddb Exp $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1986  */
        !             5: 
        !             6: #include "Xlibint.h"
        !             7: 
        !             8: XRestackWindows (dpy, windows, n)
        !             9:     register Display *dpy;
        !            10:     register Window *windows;
        !            11:     int n;
        !            12:     {
        !            13:     int i = 0;
        !            14:     LockDisplay(dpy);
        !            15:     while (windows++, ++i < n) {
        !            16:        register unsigned long *values;
        !            17:        register xConfigureWindowReq *req;
        !            18: 
        !            19:        GetReqExtra (ConfigureWindow, 8, req);
        !            20:        req->window = *windows;
        !            21:        req->mask = CWSibling | CWStackMode;
        !            22:         values = (unsigned long *) (req + 1);
        !            23:        *values++ = *(windows-1);
        !            24:        *values   = Below;
        !            25:        }
        !            26:     UnlockDisplay(dpy);
        !            27:     SyncHandle();
        !            28:     }
        !            29: 
        !            30:     
        !            31: 
        !            32:     

unix.superglobalmegacorp.com

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