mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-19 18:03:52 +00:00
fix: fix #464
This commit is contained in:
parent
4108ed142b
commit
5922824950
4 changed files with 148 additions and 4 deletions
|
|
@ -123,7 +123,7 @@ void KeyboardMouseInput::Tick()
|
|||
}
|
||||
}
|
||||
|
||||
if ((m_mouseGrabbed || m_cursorHiddenForUI) && g_hWnd)
|
||||
if (m_windowFocused && (m_mouseGrabbed || m_cursorHiddenForUI) && g_hWnd)
|
||||
{
|
||||
RECT rc;
|
||||
GetClientRect(g_hWnd, &rc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue