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

1.1     ! root        1: #include <X/mit-copyright.h>
        !             2: 
        !             3: /* $Header: XGetIconWind.c,v 10.4 86/02/01 15:35:07 tony Rel $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1985  */
        !             5: 
        !             6: #include "XlibInternal.h"
        !             7: Window XGetIconWindow (w)
        !             8:        Window w;
        !             9: {
        !            10:        register Display *dpy;
        !            11:        register XReq *req;
        !            12:        XRep rep;
        !            13: 
        !            14:        GetReq(X_QueryWindow, w);
        !            15:        if (!_XReply(dpy, &rep))
        !            16:            return(NULL);
        !            17:        return (rep.param.b[11] == IsIcon ? w : rep.param.l[3]); 
        !            18:        }

unix.superglobalmegacorp.com

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