I know how to retrieve snapshot of current window with its WId , but how can I find the list of WId e.g of all window present on this desktop , so that I could find all the snapshots.
I know how to retrieve snapshot of current window with its WId , but
Share
You may want to just take a snapshot of the root window.
If you need a list of all windows, use
XQueryTreeon the root window. Bear in mind that a partially obscured window will still be obscured on any snapshot.