This fixes the bug 142424 as originally reported, for the B2 decoration. Keramic has the same issue, but the code is completely different.
The title unhiding code is still broken with Composite enabled, though.
svn path=/trunk/KDE/kdebase/workspace/; revision=671652