|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XGrabButton.c,v 10.4 86/02/01 15:35:22 tony Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: Status XGrabButton (w, cursor, buttonMask, eventMask) ! 8: Window w; ! 9: Cursor cursor; ! 10: int buttonMask, eventMask; ! 11: { ! 12: register Display *dpy; ! 13: register XReq *req; ! 14: XRep rep; ! 15: ! 16: GetReq(X_GrabButton, w); ! 17: req->mask = buttonMask; ! 18: req->param.l[0] = cursor; ! 19: req->param.l[1] = eventMask; ! 20: return((_XReply(dpy, &rep))); ! 21: } ! 22:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.