[comp.windows.x] Finding window id of xterm window

scottr@Atherton.COM (Scott Rasmussen) (06/12/91)

I need to find out the window id of a terminal emulator window.  The
catch is that I need to find this out for the terminal emulator I am
currently running in.  Essentially, how do I write an program which
can determine the window id of the window from which the program is
invoked?  I cannot assume that the window I am running in has a unique
name which can be used to look up the window id.  Any ideas would be
appreciated.  Thanks, 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=
Scott Rasmussen                                    scottr@atherton.com
Atherton Technology                           {sun|decwrl}!athertn.com