Fix clearing the wrong flag when activating mouse capture

This commit is contained in:
Cameron Gutman 2021-01-14 19:30:30 -06:00
parent 7172cfd889
commit f49d6e15a4

View File

@ -1476,7 +1476,7 @@ void Session::exec(int displayOriginX, int displayOriginY)
// is set up, this ensures the window re-creation is already done.
if (needsPostDecoderCreationCapture) {
m_InputHandler->setCaptureActive(true);
needsFirstEnterCapture = false;
needsPostDecoderCreationCapture = false;
}
}