Windows and PIDs

David Sharp whereami at gmail.com
Fri Jun 8 19:00:28 PDT 2007


On 6/7/07, Peter Hutterer <mailinglists at who-t.net> wrote:
> John Klingler wrote:
> > Is there any way of determining the process id of the application owning
> > the display connection which created a particular window?
>
> Yes and no. you can read the _NET_WM_PID property, but it is the
> client's choice whether to set it or not.
>
> see also
> http://lists.freedesktop.org/archives/xorg/2007-May/024754.html
>
> Cheers,
>    Peter

This is about the 30th time I've seen this question asked on this
list. I think that qualifies as a FAQ. Does somebody who knows about
it (which is not me) want to put the answer somewhere on wiki.x.org?
Include in the answer why there is no X request for getting that
information.

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



More information about the xorg mailing list