Traverses the windowing system hierarchy (from child to parent to grandparent and so forth), producing a list of windowing system identifiers for each window found.
The ancestry, starting at the root ancestor and working down to the specified window.