[client] core: invalidate the pointer state when overlay is disabled

This commit is contained in:
Geoffrey McRae
2021-12-27 11:22:12 +11:00
parent 8ab130deba
commit bbd9c84896
3 changed files with 27 additions and 20 deletions

View File

@@ -907,6 +907,7 @@ void app_setOverlay(bool enable)
g_state.io->ConfigFlags |= ImGuiConfigFlags_NoMouse;
core_resetOverlayInputState();
core_setGrabQuiet(wasGrabbed);
core_invalidatePointer();
app_invalidateWindow(false);
}
}