|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XInterpLoc.c,v 10.5 86/04/22 15:32:21 jg Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: Status XInterpretLocator (w, x, y, subw, loc) ! 8: Window w; ! 9: Window *subw; ! 10: Locator loc; ! 11: int *x, *y; ! 12: { ! 13: register Display *dpy; ! 14: register XReq *req; ! 15: XRep rep; ! 16: ! 17: GetReq(X_InterpretLocator, w); ! 18: req->param.l[0] = loc; ! 19: if (!_XReply(dpy, &rep)) ! 20: return(0); ! 21: *x = rep.params2; ! 22: *y = rep.params3; ! 23: *subw = rep.param.l[0]; ! 24: return (1); ! 25: } ! 26:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.