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

Another thing may worth thinking about is what should happen for user-initiated focus change, e.g. when user uses Alt-Tab to switch to other window. I believe we want to untrap the pointer in that case. And what should happen when user switch the focus back? If the parameter is added on Fullscreen API, we probably need to re-trap the pointer in that case, then where should we put the pointer?

It's worth checking what Pointer Lock API does for this situation. But since Pointer Lock API can hide the pointer, where to put the pointer is probably not a question it needs to consider.

-- 
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#issuecomment-323722038

Received on Monday, 21 August 2017 11:40:35 UTC