WindowInfo Equality on Process changed to Name and Id.
This commit is contained in:
parent
1b83eea25f
commit
c5e5922bee
@ -24,10 +24,11 @@ public struct WindowInfo
|
||||
|
||||
public bool Equals(WindowInfo other)
|
||||
{
|
||||
return WindowHandle == other.WindowHandle &&
|
||||
WindowPlacement.Equals(other.WindowPlacement) &&
|
||||
WindowTitle == other.WindowTitle &&
|
||||
ProcessInfo.Equals(other.ProcessInfo);
|
||||
return WindowHandle == other.WindowHandle &&
|
||||
WindowPlacement.Equals(other.WindowPlacement) &&
|
||||
WindowTitle.Equals(other.WindowTitle) &&
|
||||
ProcessInfo.ProcessName.Equals(other.ProcessInfo.ProcessName) &&
|
||||
ProcessInfo.Id == other.ProcessInfo.Id;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
|
Loading…
x
Reference in New Issue
Block a user