On Mon, 4 Jun 2007, Ian Archer wrote:
Is there any way to identify the application which "owns" an x-window?
I'd like to be able to figure out, for example, that gimp owns window
'X'.
There are xlsclient and xwininfo.
Remember that the user may be running two copies of gimp, that ssh
tunnelling could be in use and that a remote machine can put windows on
an X display, so the question isn't as simple as it may appear.
The is an X security protocol (which isn't widely used) which hides
some of this information from applications which don't need to know,
and remote machines may have a completely different idea of a "process"
so in general getting the process id for a window isn't always possible.
--
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
A.C.Aitchison@xxxxxxxxxxxxxxx http://www.dpmms.cam.ac.uk/~werdna
_______________________________________________
Devel mailing list
Devel@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/devel