home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / x / 18865 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!telesoft!trevor
  3. From: trevor@telesoft.com (Trevor Bourget @ignite)
  4. Subject: Re: Mapping A Window To A Process
  5. Message-ID: <1992Nov7.215936.14232@telesoft.com>
  6. Organization: TeleSoft, San Diego, CA, USA
  7. References: <Bx7oBI.5IG@cs.columbia.edu> <1992Nov7.105306.20140@thunder.mcrcim.mcgill.edu>
  8. Date: Sat, 7 Nov 1992 21:59:36 GMT
  9. Lines: 21
  10.  
  11. In <1992Nov7.105306.20140@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
  12.  
  13. >In article <Bx7oBI.5IG@cs.columbia.edu>,
  14. >haupt@cs.columbia.edu (Marcus E. Haupt) writes:
  15.  
  16. >> I would like to know if anyone has come across a method to find
  17. >> the UNIX pid of a process given only a window ID
  18.  
  19. ...
  20. Deleted long explanation of why it's so difficult and dirty that
  21. it's not worth doing.
  22. ...
  23.  
  24. If you have a certain set of applications that you care about, you
  25. can have them put properties (XSetTextProperty) on their top-level
  26. window indicating useful information like USER and PID.
  27.  
  28. It would have been nice if these had been part of the WM protocol
  29. standard (like MACHINE, NAME, and COMMAND are).
  30.  
  31. -- Trevor Bourget (trevor@telesoft.com)
  32.