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

1.1       root        1: #include "copyright.h"
                      2: 
                      3: /* $Header: XMoveWin.c,v 11.6 87/09/11 08:05:15 toddb Exp $ */
                      4: /* Copyright    Massachusetts Institute of Technology    1986  */
                      5: 
                      6: #include "Xlibint.h"
                      7: 
                      8: XMoveWindow (dpy, w, x, y)
                      9:     register Display *dpy;
                     10:     Window w;
                     11:     int x, y;
                     12: {
                     13:     unsigned long *valuePtr;
                     14:     register xConfigureWindowReq *req;
                     15:     LockDisplay(dpy);
                     16:     GetReqExtra(ConfigureWindow, 8, req);
                     17:     req->window = w;
                     18:     req->mask = CWX | CWY;
                     19:     valuePtr = (unsigned long *) (req + 1);
                     20:     *valuePtr++ = x;
                     21:     *valuePtr = y;
                     22:     UnlockDisplay(dpy);
                     23:     SyncHandle();
                     24: }
                     25: 

unix.superglobalmegacorp.com

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