how can I set the mouse cursor position in an X window using a C program under Linux? thanks :) (like setcursorpos() in WIN)
EDIT: I\'ve tried this
You can use XWarpPointer to move the mouse cursor in an X window.
XWarpPointer(display, src_w, dest_w, src_x, src_y, src_width, src_height, dest_x, dest_y) Display *display; Window src_w, dest_w; int src_x, src_y; unsigned int src_width, src_height; int dest_x, dest_y;