I’d say the windowlist tracker. That seems to be its purpose. But only a limited range of information is available. For example, is a certain window titled or untitled? The tracker does not tell us.
I mostly use the windowlist tracker instead of using event_loop, and it works just fine. But I recall attempting to use the windowlist tracker and event_loop together, and being surprised by some problem. But that was a long time ago, and I didn’t investigate further.
Not sure. Someone else may know.