1: #include <X/mit-copyright.h> 2: 3: /* $Header: XWarpCond.c,v 10.4 86/02/01 15:41:41 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: XCondWarpMouse (dw, x, y, sw, left, top, width, height) 8: Window dw, sw; 9: int x, y, left, top, width, height; 10: { 11: register Display *dpy; 12: register XReq *req; 13: 14: GetReq(X_WarpMouse, dw); 15: req->param.s[0] = x; 16: req->param.s[1] = y; 17: req->param.l[1] = sw; 18: req->param.s[4] = height; 19: req->param.s[5] = width; 20: req->param.s[6] = left; 21: req->param.s[7] = top; 22: }