prepare a list of X windows