|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XChPntCon.c,v 11.7 87/09/08 14:29:27 newman Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: XChangePointerControl(dpy, do_acc, do_thresh, acc_numerator, ! 9: acc_denominator, threshold) ! 10: register Display *dpy; ! 11: Bool do_acc, do_thresh; ! 12: int acc_numerator, acc_denominator, threshold; ! 13: ! 14: { ! 15: register xChangePointerControlReq *req; ! 16: ! 17: LockDisplay(dpy); ! 18: GetReq(ChangePointerControl, req); ! 19: req->doAccel = do_acc; ! 20: req->doThresh = do_thresh; ! 21: req->accelNum = acc_numerator; ! 22: req->accelDenum = acc_denominator; ! 23: req->threshold = threshold; ! 24: UnlockDisplay(dpy); ! 25: SyncHandle(); ! 26: } ! 27:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.