Annotation of researchv9/X11/src/X.V11R1/lib/X/XWarpPtr.c, revision 1.1.1.1

1.1       root        1: #include "copyright.h"
                      2: 
                      3: /* $Header: XWarpPtr.c,v 11.5 87/09/11 08:08:24 toddb Exp $ */
                      4: /* Copyright    Massachusetts Institute of Technology    1986  */
                      5: 
                      6: #include "Xlibint.h"
                      7: 
                      8: XWarpPointer(dpy, src_win, dest_win, src_x, src_y, src_width, src_height,
                      9:             dest_x, dest_y)
                     10:      register Display *dpy;
                     11:      Window src_win, dest_win;
                     12:      int src_x, src_y;
                     13:      unsigned int src_width, src_height;
                     14:      int dest_x, dest_y;
                     15: {       
                     16:     register xWarpPointerReq *req;
                     17: 
                     18:     LockDisplay(dpy);
                     19:     GetReq(WarpPointer, req);
                     20:     req->srcWid = src_win;
                     21:     req->dstWid = dest_win;
                     22:     req->srcX = src_x;
                     23:     req->srcY = src_y;
                     24:     req->srcWidth = src_width;
                     25:     req->srcHeight = src_height;
                     26:     req->dstX = dest_x;
                     27:     req->dstY = dest_y;
                     28:     UnlockDisplay(dpy);
                     29:     SyncHandle();
                     30: }
                     31: 

unix.superglobalmegacorp.com

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