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

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

No files matched your search

+1
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);
}
}