[clug] Xlib: map window to pid?

Peter Barker pbarker at barker.dropbear.id.au
Mon Jul 14 02:21:01 GMT 2008


On Mon, 14 Jul 2008, Dan Polk wrote:

> I have a question about Xlib, and would be very grateful to anyone who cared
> to share anything they might know about my question... Its work related, so,
> you know, bear that in mind before spending too long in reply ;)

Sure :)

> I assume there is a way to map a window back to the process which created
> it, but I can't figure it.  Again, any help appreciated.  Or even where I
> could find a more appropriate list?

I'd suggest checking the source code for "xkill".  It does what I believe 
you've described.

Yours,
-- 
Peter Barker                          |   Programmer,Sysadmin,Geek.
pbarker at barker.dropbear.id.au	      |   You need a bigger hammer.
:: It's a hack! Expect underscores! - Nigel Williams


More information about the linux mailing list