Looking for an example code to loop through all window on current display

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jul 20 21:20:19 PDT 2012


On 07/20/12 09:16 PM, Aaron Lewis wrote:
> Hi,
> 
> I'm looking for a minimal example on how to loop through all Window in
> current display (all workspaces), and I'll find window attributes
> myself with XGetWindowAttributes?

See the sources to xwininfo - older versions use libX11 calls, newer versions
use libxcb calls.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list