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

1.1       root        1: #include "copyright.h"
                      2: 
                      3: /* $Header: XBdrWidth.c,v 11.5 87/09/11 08:09:10 toddb Exp $ */
                      4: /* Copyright    Massachusetts Institute of Technology    1987 */
                      5: 
                      6: #include "Xlibint.h"
                      7: 
                      8: XSetWindowBorderWidth(dpy, w, width)
                      9: Display *dpy;
                     10: Window w;
                     11: unsigned int width;
                     12: {
                     13:     register xConfigureWindowReq *req;
                     14:     LockDisplay(dpy);
                     15:     GetReqExtra(ConfigureWindow, 4, req);
                     16:     req->window = w;
                     17:     req->mask = CWBorderWidth;
                     18:     * (unsigned long *) (req + 1) = width;
                     19:     UnlockDisplay(dpy);
                     20:     SyncHandle();
                     21: }
                     22: 

unix.superglobalmegacorp.com

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