|
|
1.1 root 1: #include <X/mit-copyright.h>
2:
3: /* $Header: XWarpMouse.c,v 10.6 86/02/01 15:41:44 tony Rel $ */
4: /* Copyright Massachusetts Institute of Technology 1985 */
5:
6: #include "XlibInternal.h"
7: XWarpMouse (w, x, y)
8: Window w;
9: int x, y;
10: {
11: register Display *dpy;
12: register XReq *req;
13:
14: GetReq(X_WarpMouse, w);
15: req->param.s[0] = x;
16: req->param.s[1] = y;
17: req->param.l[1] = RootWindow;
18: req->param.s[4] = 0;
19: req->param.s[5] = 0;
20: req->param.s[6] = 0;
21: req->param.s[7] = 0;
22: }
23:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.