x11-misc/
wininfo

An X app that follows your pointer providing information about the windows below

https://freedesktop.org/Software/wininfo

The dependencies are regularly computed based on the qa-reports.