Mouse glitch when using enableUnboundedMouseMovement

I’m using the mouse enableUnboundedMouseMovement method to hide the mouse when performing drag operations.

It works, but when the mouse is released and enableUnboundedMouseMovement(false) is called, the mouse cursor momentarily appears where it would be when being dragged whilst hidden, before snapping to where it should be. It happens fairly quickly but it makes the operation look glitchy.

This is with vst3 on OSX (Monterey). Not sure if it’s happening on other platforms.

Anybody else experience this or now how to fix it?

1 Like