Add pointer lock key combo

Fixes #737
This commit is contained in:
Cameron Gutman committed 2022-03-29 18:26:09 -05:00
1 parent 742f1b1283
commit 6972573a6e
5 files changed
+68 -17

No files matched your search

+3
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;