Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!bloom-beacon!MBUNIX.MITRE.ORG!lshea From: lshea@MBUNIX.MITRE.ORG (Shea) Newsgroups: comp.windows.x Subject: (none) Message-ID: <9006061805.AA04566@mbunix.mitre.org> Date: 6 Jun 90 18:05:47 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 I am trying to obtain the window id of an xterm client that I create using fork and exec. I need to do this in order to check if a particuar xterm client exists. If it does I want to raise it, if not, create it. First I do XQueryTree to get the child windows of the root window; then I do XFetchName and a strcmp to obtain the appropriate child. Setting the title and/or name options on the xterm command does not give the window a name that I can access with XFetchName. I resorted to modifying xterm to store the name of the xterm widget's window using XStoreName and still no luck. Does anyone know how to set the name of an xterm client window for later retrieval? Thanks, Lynn Shea lshea@mitre.org