Comment 297 for bug 351186

thanks a lot, Felix Kuehling's patch worked for me too (karmic, fglrx, ATI HD4850)
Restoring minimized windows is now as fast as i expect it to be.