finding process id of a window
Jaymz Julian
jaymz at artificial-stupidity.net
Tue Apr 5 16:31:31 PDT 2005
On Mon, Apr 04, 2005 at 08:41:21AM +0200, Marcus Schäfer wrote:
> maybe the _NET_WM_PID property can help here:
There was another thread on this recently. Almost the same code was posted,
and it was broken in the same way, which is that it assumes that all
clients are local. Remember to check at least that WM_CLIENT_MACHINE
is the localmachine, which while not foolproof (as pointed out in
the other thread), at least gives you an amount of confidence that you're
not pointing to something completly differnet
-- jj
--
--
Jaymz Julian - Coder, Visionary, Fat Ass.
"Hannibal is a serial killer. He only likes to kill and eat people.
Very few people have `I want to be killed and eaten' on their cards,
so Hannibal is out of a job." - http://cards.sf.net
More information about the xorg
mailing list