Add pointer lock key combo

Fixes #737
This commit is contained in:
Cameron Gutman 2022-03-29 18:26:09 -05:00
commit 6972573a6e
5 changed files with 68 additions and 17 deletions

View file

@ -1708,6 +1708,9 @@ void Session::execInternal()
// of recreating our decoder at the time the HDR transition happens.
m_VideoDecoder->setHdrMode(LiGetCurrentHostDisplayHdrMode());
// After a window resize, we need to reset the pointer lock region
m_InputHandler->updatePointerRegionLock();
SDL_AtomicUnlock(&m_DecoderLock);
break;