[client] core: set the correct cursor when exiting overlay

This commit is contained in:
Geoffrey McRae
2021-12-27 11:52:06 +11:00
parent bbd9c84896
commit 95987a9c91
3 changed files with 28 additions and 23 deletions

View File

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