diff --git a/src/Magpie.Core/ScalingWindow.cpp b/src/Magpie.Core/ScalingWindow.cpp index ae8d9f34..db0b0153 100644 --- a/src/Magpie.Core/ScalingWindow.cpp +++ b/src/Magpie.Core/ScalingWindow.cpp @@ -481,7 +481,7 @@ int ScalingWindow::_CheckSrcState() const noexcept { // 在 3D 游戏模式下打开叠加层则全屏窗口可以接收焦点 if (!_options.Is3DGameMode() || !_renderer->IsOverlayVisible() || hwndForeground != _hWnd) { - if (hwndForeground && hwndForeground != _hwndSrc && hwndForeground != _hWnd && !_CheckForeground(hwndForeground)) { + if (hwndForeground && hwndForeground != _hwndSrc && !_CheckForeground(hwndForeground)) { Logger::Get().Info("前台窗口已改变"); return 1; }