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