Fastest way to get x window ids?