Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!pyramid!athertn!scottr From: scottr@Atherton.COM (Scott Rasmussen) Newsgroups: comp.windows.x Subject: Finding window id of xterm window Keywords: window id, xterm, XQueryTree Message-ID: <35441@athertn.Atherton.COM> Date: 11 Jun 91 23:23:20 GMT Sender: news@athertn.Atherton.COM Reply-To: scottr@Atherton.COM (Scott Rasmussen) Organization: Atherton Technology -- Sunnyvale, CA Lines: 11 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