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