diff -ur kdebase-3.5.5.orig/ksmserver/legacy.cpp kdebase-3.5.5/ksmserver/legacy.cpp --- kdebase-3.5.5.orig/ksmserver/legacy.cpp 2006-09-24 01:51:26.000000000 +0300 +++ kdebase-3.5.5/ksmserver/legacy.cpp 2006-09-24 02:19:06.000000000 +0300 @@ -220,7 +220,7 @@ for (WindowMap::ConstIterator it = legacyWindows.begin(); it != legacyWindows.end(); ++it) { if ( (*it).type != SM_ERROR) { if( excludeApps.contains( (*it).wmclass1.lower()) - || excludeApps.contains( (*it).wmclass2.lower())) + || excludeApps.contains( (*it).wmclass2.lower()) || (*it).wmCommand[0] == "compiz" || (*it).wmCommand[0] == "beryl" || (*it).wmCommand[0] == "aquamarine" || (*it).wmCommand[0] == "beryl-manager" || (*it).wmCommand[0] == "beryl-settings" || (*it).wmCommand[0] == "kde-window-decorator" || (*it).wmCommand[0] == "emerald") continue; if ( !(*it).wmCommand.isEmpty() && !(*it).wmClientMachine.isEmpty() ) { count++;