wininfo [ OPTION ] ...
X Window Information is a window information utility for developers of applications, toolkits, and window managers. X Window Information follows your pointer providing information about the windows below. Information presented includes:
X Window Information accepts the standard command line arguments of any Gtk+ application. Unfortunately, these seem to be undocumented.
Billy Biggs.