mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-10-22 19:22:04 +00:00
When the inventory or other UI with a hidden cursor was open, alt-tabbing out would leave the cursor locked to the game window. SetWindowFocused(false) from WM_KILLFOCUS correctly released the clip and showed the cursor, but Tick() was unconditionally calling SetCursorPos every frame to re-center it, overriding the release. Added m_windowFocused to the Tick() condition so cursor manipulation only happens while the window actually has focus. |
||
|---|---|---|
| .. | ||
| 4JLibs | ||
| GameConfig | ||
| Iggy | ||
| Leaderboards | ||
| Network | ||
| Sentient | ||
| Social | ||
| XML | ||
| KeyboardMouseInput.cpp | ||
| KeyboardMouseInput.h | ||
| Minecraft_Macros.h | ||
| PostProcesser.cpp | ||
| Resource.h | ||
| Windows64_App.cpp | ||
| Windows64_App.h | ||
| Windows64_Minecraft.cpp | ||
| Windows64_UIController.cpp | ||
| Windows64_UIController.h | ||
| Xbox_BuildVer.h | ||