"Nguyen, Tien" wrote:
hi gurus,
looking at a unix system, x display. is it possible to takeover control of the mouse cursor on a system level? ie. instead of having to move the mouse to move the cursor, is it possible write a program which moves the cursor automatically ? and that movement is not restricted to having the cursor inside its own window? i am sure there's got to be a low level function call to move the mouse in response to mouse-device movement. just not sure if it's accessable to programmer.
any help is greately appreciated regards tien
XWarpPointer function does what you want.
/m
============================================================= Michael Krasnik mike@genlogic.com (413) 253-7491 Generic Logic Inc. http://www.genlogic.com =============================================================