Try to do the same fix for kwin
Please svn up and test this out
CCBUG:163538
svn path=/trunk/KDE/kdebase/workspace/; revision=899162