removed 'hackish' checks on running compiz. Assume kwin

svn path=/trunk/KDE/kdebase/workspace/; revision=1017618
This commit is contained in:
Hugo Pereira Da Costa 2009-08-31 00:58:10 +00:00
parent cd52e656b5
commit fbf5d4d438

View file

@ -112,9 +112,6 @@ namespace Nitrogen
NitrogenConfiguration configuration( group );
bool changed = !( configuration == defaultConfiguration() );
// check configurations
changed |= (NitrogenConfiguration::useCompiz() == NitrogenConfiguration::checkUseCompiz());
// read exceptionsreadConfig
NitrogenExceptionList exceptions( config );
if( !( exceptions == exceptions_ ) )
@ -165,7 +162,7 @@ namespace Nitrogen
// compositing
case AbilityProvidesShadow: // TODO: UI option to use default shadows instead
case AbilityUsesAlphaChannel:
return !NitrogenConfiguration::useCompiz();
return true;
// no colors supported at this time
default: