How to get a list of windows and process mapping

Adam Majer adamm at zombino.com
Fri Nov 19 09:23:04 PST 2010


On Wed, Nov 17, 2010 at 07:00:02PM +0200, Rami Ylimäki wrote:
>  On 11/17/2010 06:41 PM, Trevor Woerner wrote:
> >On Tue, Nov 16, 2010 at 3:44 PM, Adam Majer<adamm at zombino.com>  wrote:
> >>Is there a method of getting a list of all the
> >>windows on a given display or screen? Is there a method of mapping
> >>these Windows to host/pid?
> >Maybe having a look at "xwininfo" (and its sources) will help get you started?
> >$ xwininfo -root -tree -wm
> 
> We are currently implementing a better mechanism to identify
> resource owners/clients with X resource extension v1.2:
> http://lists.x.org/archives/xorg-devel/2010-November/015538.html.
> 
> It will still take a few weeks to implement that so with current X
> server versions you need to do it the xrestop/xwininfo way.

The X resource extension changes look very good and it is exactly what
I was looking for. It would definitely streamline the process compared
to xrestop/xwininfo method.

- Adam

PS. Thank you all for the hint about xwininfo/xrestop - I'm a new to X
programming ;)

-- 
Adam Majer
adamm at zombino.com


More information about the xorg-devel mailing list