|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XPmapBord.c,v 11.5 87/09/11 08:05:38 toddb Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: XSetWindowBorderPixmap(dpy, w, pixmap) ! 9: register Display *dpy; ! 10: Window w; ! 11: Pixmap pixmap; ! 12: { ! 13: register xChangeWindowAttributesReq *req; ! 14: LockDisplay(dpy); ! 15: GetReqExtra (ChangeWindowAttributes, 4, req); ! 16: req->window = w; ! 17: req->valueMask = CWBorderPixmap; ! 18: * (unsigned long *) (req + 1) = pixmap; ! 19: UnlockDisplay(dpy); ! 20: SyncHandle(); ! 21: } ! 22:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.