1: #include <X/mit-copyright.h> 2: 3: /* $Header: XCreateTrans.c,v 10.4 86/02/01 15:31:27 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: Window XCreateTransparency (parent, x, y, width, height) 8: int x, y, width, height; 9: Window parent; 10: { 11: register Display *dpy; 12: register XReq *req; 13: XRep rep; 14: 15: GetReq(X_CreateTransparency, parent); 16: req->param.s[0] = height; 17: req->param.s[1] = width; 18: req->param.s[2] = x; 19: req->param.s[3] = y; 20: if (!_XReply(dpy, &rep)) 21: return(NULL); 22: return (rep.param.l[0]); 23: }