Qt: Remove incorrect check in shouldMouseLock()

This commit is contained in:
TheLastRar authored and Ty committed 2025-11-24 18:34:43 -05:00
1 parent bc3cfb1373
commit 366cdd8df0
1 file changed
+1 -1
+1 -1
View File
@@ -1099,7 +1099,7 @@ bool MainWindow::shouldMouseLock() const
if (!Host::GetBoolSettingValue("EmuCore", "EnableMouseLock", false))
return false;
if (m_display_created == false || m_display_surface == nullptr && !isRenderingToMain())
if (m_display_created == false || m_display_surface == nullptr)
return false;
bool windowsHidden = (!g_debugger_window || g_debugger_window->isHidden()) &&