From db46a4adfd354c70b0b8fede7f9fe5887f97f7d0 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Sun, 30 Mar 2025 09:12:14 +0800 Subject: [PATCH] Code quality --- Flow.Launcher.Infrastructure/Win32Helper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/Win32Helper.cs b/Flow.Launcher.Infrastructure/Win32Helper.cs index a2d37a2f0..b5b89e2d1 100644 --- a/Flow.Launcher.Infrastructure/Win32Helper.cs +++ b/Flow.Launcher.Infrastructure/Win32Helper.cs @@ -126,7 +126,7 @@ namespace Flow.Launcher.Infrastructure public static bool IsForegroundWindow(Window window) { - return GetWindowHandle(window).Equals(PInvoke.GetForegroundWindow()); + return IsForegroundWindow(GetWindowHandle(window)); } internal static bool IsForegroundWindow(HWND handle)