Backport r987409:
Display debugging messages when compositing mode has been forced by KWIN_COMPOSE or KDE_FAILSAFE environment variables. svn path=/branches/KDE/4.3/kdebase/workspace/; revision=987421
This commit is contained in:
parent
31bdb777a9
commit
3d54acecf2
1 changed files with 7 additions and 1 deletions
|
@ -108,13 +108,19 @@ void Workspace::setupCompositing()
|
||||||
switch( c )
|
switch( c )
|
||||||
{
|
{
|
||||||
case 'O':
|
case 'O':
|
||||||
|
kDebug( 1212 ) << "Compositing forced to OpenGL mode by environment variable";
|
||||||
type = OpenGLCompositing;
|
type = OpenGLCompositing;
|
||||||
break;
|
break;
|
||||||
case 'X':
|
case 'X':
|
||||||
|
kDebug( 1212 ) << "Compositing forced to XRender mode by environment variable";
|
||||||
type = XRenderCompositing;
|
type = XRenderCompositing;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
kDebug( 1212 ) << "No compositing";
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue