Thread: Window -> PID
View Single Post

   
  #3 (permalink)  
Old 01-09-2008, 06:54 AM
Logan Shaw
 
Posts: n/a
Default Re: Window -> PID

bunka.munka@yahoo.com wrote:
> Sometimes, I have an application running in Window and want to
> know the PID. Is there a way I can get it somehow digging into
> structures, if I know the Window ID (obtained by xwininfo) ?


Who says the application is running on the local host? Who says
it's even running on an operating system that has the notion of
processes in the first place? All you really know is that it's
something which is interacting with the X server.

- Logan
Reply With Quote