nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.16k stars 3.88k forks source link

pointerlock doesn't keep mouse in same position it was when it exits (linux) #8154

Open prominentdetail opened 5 months ago

prominentdetail commented 5 months ago

When the pointer is locked via requestPointerLock and the mouse has been moved, when exiting it will show the mouse position changed. The correct way it should be is that it should be positioned where it was when it was locked.

UtterDonkey commented 4 months ago

I have the same issue on Windows 11, however I can't reproduce it every time.