Use just kWarning() for X errors, so that users don't report various

"errors".


svn path=/trunk/KDE/kdebase/workspace/; revision=948236
This commit is contained in:
Luboš Luňák 2009-04-02 15:57:54 +00:00
parent 5f5399a1cc
commit 6b7e972d87

View file

@ -177,7 +177,7 @@ static int x11ErrorHandler( Display* d, XErrorEvent* e )
return 0;
//fprintf( stderr, "kwin: X Error (%s)\n", KXErrorHandler::errorMessage( *e, d ).data());
fprintf( stderr, "kwin: X Error (%s)\n", errorMessage( *e, d ).data() );
kWarning( 1212 ) << "kwin: X Error (" << errorMessage( *e, d ) << ")";
if( kwin_sync )
fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data() );