Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!newstop!exodus!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: Child Process Realization Message-ID: <5028@exodus.Eng.Sun.COM> Date: 26 Dec 90 18:28:44 GMT References: <10659@uhccux.uhcc.Hawaii.Edu> Sender: news@exodus.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 18 john@quonset.cfht.hawaii.edu writes: > Is there a Motif/Xt/Xlib call that can take a process > id and determine if it has a window mapped? Should > not the window manager be able to supply such > information ( I can't seem to find out much detail > on WM_PROTOCOLS concerning this issue). Since you are spawning the child process, I assume you know what the application is you're starting. You can always walk down the window tree using standard Xlib calls and check the properties on each window it finds looking for the one associated with your child process. Note that you might have a problem if there are multiple copies off that application running. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.