Prevent Window (or Volume) Mouse Focus

When using a trackpad (or screen-shared Mac) with the Vision Pro, moving your attention to a new window or app immediately refocuses the mouse cursor, which in many circumstances is really useful. But in circumstances where there is a viewer-only window, that window jumping gets in the way. Imagine a 3d object editor of some sort, with a live viewer in a second window, maybe a browser. Manipulating the 3d object with the mouse in the editor gets continually interrupted when looking at the live viewer because the cursor jumps to the viewer window.

Is there anyway to reject that focus?

User intent changes quickly and is sometimes misinterpreted, e.g. by mouse, eye, device or hand tracking. Recently we added an ad-hoc solution with confirmation dialog to our visionOS app.

https://github.com/CurvSurf/FindSurface-RealityKit-visionOS-Real-Time

However, the better solution would be to consider the speed and acceleration of the mouse, eye, device or hand tracking.

We are interested in real-time detection and measurement of object geometries in 3D points.

We hope that interface issues will be solved at iOS or VisionOS level.

Prevent Window (or Volume) Mouse Focus
 
 
Q