[whatwg/fullscreen] Option to "trap" the cursor inside the fullscreen window (#99)

Especially for strategy games it would be useful to keep the cursor inside the fullscreen window to not lose focus when using multiple screens.

The Pointer Lock API has a use case for this: https://w3c.github.io/pointerlock/#xview-port-panning-by-moving-a-mouse-cursor-against-the-bounds-of-a-view-port. This would involve letting the game render the cursor by itself, introducing latency which is unacceptable for gaming.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/99

Received on Sunday, 20 August 2017 14:47:29 UTC