mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Code quality
This commit is contained in:
parent
2c1f9d56ce
commit
db46a4adfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue