From dcd0ff48a9b9d7cd2ed6c1c0eb61cab0c0ace72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 5 Aug 2009 16:21:00 +0000 Subject: [PATCH] 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 --- main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.cpp b/main.cpp index c934d8cf19..164bc07c1d 100644 --- a/main.cpp +++ b/main.cpp @@ -184,11 +184,6 @@ static int x11ErrorHandler( Display* d, XErrorEvent* e ) if( kwin_sync ) fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data() ); - if( initting ) - { - fputs( i18n( "kwin: failure during initialization; aborting").toLocal8Bit(), stderr ); - exit( 1 ); - } return 0; }