Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mouse forward on macOS #12281
This enables the equivalent mouse forward functionality that already exists on Windows, but for macOS instead. I originally had my sights on using a monitor for move events similarly to the hook on Windows, but it seems that it was enough to accept mouse move events (despite otherwise ignoring mouse related events).
I tried this on a virtual machine, but I would very much like some feedback from somebody that actually uses Mac before this is merged. It seems to work as intended, although the mouse cursor does not adapt to what is beneath the window as it does on Windows. Maybe this has always been the case?
I still need to update documentation to reflect this, but I wanted to put it up here before that so that somebody else could try it out on a real Mac. I can link to a test application tomorrow.
Edit: Here is a small test application. An area of the page is transparent. When entering this area, forwarding begins (click-through). When leaving the transparent area—the "I block input" box included—forwarding stops and the application becomes the target of clicks as usual.