snowcone-ltd / libmatoya

Cross-platform application development.
MIT License
592 stars 52 forks source link

Re-add no-op mouse fix for Windows #94

Closed Kodikuu closed 4 months ago

Kodikuu commented 1 year ago

This PR was lost in some of our shuffling.

Stardock's Fences creates no-op mouse movements that cause Parsec clients to send mouse movement events to the host. If the client is supposed to just be watching, this can cause issues, as they're constantly (every ~1 second) warping the cursor to their cursor position. If the client is one of multiple, with Exclusive Input mode enabled, the client can become the only non-owner guest able to use the mouse due to taking the input by accident with the no-op mouse events.