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=/trunk/KDE/kdebase/workspace/; revision=1007362
This commit is contained in:
Luboš Luňák 2009-08-05 16:19:00 +00:00
parent 60ac24a2f6
commit 0883f7eda0

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;
} }