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

1.1     ! root        1: #include "copyright.h"
        !             2: 
        !             3: /* $Header: XSetIFocus.c,v 11.7 87/09/11 08:07:03 toddb Exp $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1986  */
        !             5: 
        !             6: #include "Xlibint.h"
        !             7: 
        !             8: XSetInputFocus(dpy, focus, revert_to, time)
        !             9:     register Display *dpy;
        !            10:     Window focus;
        !            11:     int revert_to;
        !            12:     Time time;
        !            13: {       
        !            14:     register xSetInputFocusReq *req;
        !            15: 
        !            16:     LockDisplay(dpy);
        !            17:     GetReq(SetInputFocus, req);
        !            18:     req->focus = focus;
        !            19:     req->revertTo = revert_to;
        !            20:     req->time = time;
        !            21:     UnlockDisplay(dpy);
        !            22:     SyncHandle();
        !            23: }
        !            24: 

unix.superglobalmegacorp.com

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