finding process id of a window

Jaymz Julian jaymz at artificial-stupidity.net
Tue Mar 29 10:05:21 PST 2005


On Tue, Mar 29, 2005 at 07:24:46PM +0200, Jochen.Baier at stud.uni-karlsruhe.de wrote:
[code to read _NET_WM_PID stripped]

Shouldn't this code be modified to give no result on remote apps? (which,
by my reading of it, it will give instead a bogus PID that may be something
else on the current machine)?  I guess checking WM_CLIENT_MACHINE is the local
machine would suffice.

	-- 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