Comment 26 for bug 136336

What about adding a hook to the minimize event on windows, and grab a screenshot of it. You can later use that screenshot - you won't get a live preview, but it's waaaaaaay better than just the icon. AND windows does the same thing.

A simple hashmap could store the thumbnails in memory by windowID or something alike.