Changes in #767 removed a parameter and from the public constructor of DesktopElementAncestry and its associated plumbing, since the field was never used in Axe.Windows. Unfortunately, AIWIn relies on this functionality here. This PR restores the property with a tiny refactor to (hopefully) make the code clearer.
I've confirmed that AIWin builds correctly with this change
Details
Changes in #767 removed a parameter and from the public constructor of
DesktopElementAncestry
and its associated plumbing, since the field was never used in Axe.Windows. Unfortunately, AIWIn relies on this functionality here. This PR restores the property with a tiny refactor to (hopefully) make the code clearer.I've confirmed that AIWin builds correctly with this change
Motivation
Part of async feature work
Context
Pull request checklist