* Revert revision 15971 (june 14th) as it breaks apps that update their decorations flags (Old svn revision: 18017)