The whole design behind Peek is that you have a transparent window that shows you what is being recorded and you can interact with the window behind it to record something useful. Passing through events to the window behind it only works on X11 (or XWayland).