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: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 585
Valid CSS Valid XHTML 1.0 Strict