|
|
researchv9-SUN3(old)
#include "copyright.h"
/* $Header: /var/lib/cvsd/repos/research/researchv9/X11/src/X.V11R1/lib/X/XGetPCnt.c,v 1.1.1.1 2018/04/24 17:22:00 root Exp $ */
/* Copyright Massachusetts Institute of Technology 1986 */
#define NEED_REPLIES
#include "Xlibint.h"
XGetPointerControl(dpy, accel_numer, accel_denom, threshold)
register Display *dpy;
/* the following are return only vars */
int *accel_numer, *accel_denom;
int *threshold;
{
xGetPointerControlReply rep;
xReq *req;
LockDisplay(dpy);
GetEmptyReq(GetPointerControl, req);
(void) _XReply (dpy, (xReply *)&rep, 0, xTrue);
*accel_numer = rep.accelNumerator;
*accel_denom = rep.accelDenominator;
*threshold = rep.threshold;
UnlockDisplay(dpy);
SyncHandle();
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.