Backport r987507:
Be more strict in KWIN_COMPOSE handling. svn path=/branches/KDE/4.3/kdebase/workspace/; revision=987508
This commit is contained in:
parent
d3bb688f86
commit
feaaab26cb
1 changed files with 5 additions and 3 deletions
|
@ -115,13 +115,15 @@ void Workspace::setupCompositing()
|
|||
kDebug( 1212 ) << "Compositing forced to XRender mode by environment variable";
|
||||
type = XRenderCompositing;
|
||||
break;
|
||||
default:
|
||||
case 'N':
|
||||
if( getenv( "KDE_FAILSAFE" ))
|
||||
kDebug( 1212 ) << "Compositing disabled forcefully by KDE failsafe mode";
|
||||
else
|
||||
kDebug( 1212 ) << "Compositing disabled forcefully by environment variable";
|
||||
type = NoCompositing;
|
||||
return;
|
||||
return; // Return not break
|
||||
default:
|
||||
kDebug( 1212 ) << "Unknown KWIN_COMPOSE mode set, ignoring";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue