Hi, I'm trying to create a mouse button click event wherever the mouse pointer usually is. I am using XSendEvent, and I am wondering if there is an easy way to get the window under the pointer? I noticed XQueryPointer takes a window as an argument, if I pass in a window, will the current window be returned that way? Any advice(or a pointer to somewhere I could look that this has been done before) would be much appreciated. Thanks _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86