call XGrabPointer with owner_events set to false so mouse events are given to the window that initiated the grab.