This is fixed with compiz 2:0.9.5+git20110530+15264ac-1. The missing window decorator is probably related with bug 779801, as it's only broken when getting the snapshot with import (but works fine when using compiz).
This is fixed with compiz 2:0.9.5+ git20110530+ 15264ac- 1. The missing window decorator is probably related with bug 779801, as it's only broken when getting the snapshot with import (but works fine when using compiz).