diff --git a/Client/core/CGUI.cpp b/Client/core/CGUI.cpp index cdea4e32f9..32edce4e4e 100644 --- a/Client/core/CGUI.cpp +++ b/Client/core/CGUI.cpp @@ -774,21 +774,7 @@ bool CLocalGUI::InputGoesToGUI() if (!pGUI) return false; - bool shouldShowCursorForGUI = false; - if (pGUI->GetGUIInputEnabled()) - { - eInputMode inputMode = pGUI->GetGUIInputMode(); - if (inputMode == INPUTMODE_NO_BINDS_ON_EDIT) - { - shouldShowCursorForGUI = true; - } - else if (inputMode == INPUTMODE_NO_BINDS) - { - shouldShowCursorForGUI = false; - } - } - - return (IsConsoleVisible() || IsMainMenuVisible() || IsChatBoxInputEnabled() || m_bForceCursorVisible || shouldShowCursorForGUI || + return (IsConsoleVisible() || IsMainMenuVisible() || IsChatBoxInputEnabled() || m_bForceCursorVisible || pGUI->GetGUIInputEnabled() || !CCore::GetSingleton().IsFocused() || IsWebRequestGUIVisible()); }