Make it possible to find out window type also in createDecoration().
svn path=/trunk/kdebase/kwin/; revision=254816