Skip to content

Commit db46a4a

Browse files
committed
Code quality
1 parent 2c1f9d5 commit db46a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Infrastructure/Win32Helper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public static bool SetForegroundWindow(nint handle)
126126

127127
public static bool IsForegroundWindow(Window window)
128128
{
129-
return GetWindowHandle(window).Equals(PInvoke.GetForegroundWindow());
129+
return IsForegroundWindow(GetWindowHandle(window));
130130
}
131131

132132
internal static bool IsForegroundWindow(HWND handle)

0 commit comments

Comments
 (0)