Backport:

Remove aborting if there's any unknown X error during kwin
startup. It dates so back in history that the KWM commit
message is completely useless and I see no point in that,
it can just needlessly make kwin abort because of a harmless
X error e.g. in libGL. Real problems should be handled
explicitly wherever they happen.


svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1007364
This commit is contained in:
Luboš Luňák 2009-08-05 16:21:00 +00:00
parent 4b2ec25dec
commit dcd0ff48a9

View file

@ -184,11 +184,6 @@ static int x11ErrorHandler( Display* d, XErrorEvent* e )
if( kwin_sync ) if( kwin_sync )
fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data() ); fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data() );
if( initting )
{
fputs( i18n( "kwin: failure during initialization; aborting").toLocal8Bit(), stderr );
exit( 1 );
}
return 0; return 0;
} }