Code quality

This commit is contained in:
Jack251970 2025-03-30 09:12:14 +08:00
parent 2c1f9d56ce
commit db46a4adfd

View file

@ -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)