> Why Compiz's switcher.c doesn't use this? > > The only difference is that in Beryl they also switch the addWindowGeometry function. The rest of it is in Compiz, but I can see the corruption goes if you switch addWindowGeometry as well.