lsw - list windows
lsw [window...]
lsw prints the title and XID of each child of each window. If none are given the root window is used.