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:
parent
5f5399a1cc
commit
6b7e972d87
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -177,7 +177,7 @@ static int x11ErrorHandler( Display* d, XErrorEvent* e )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
//fprintf( stderr, "kwin: X Error (%s)\n", KXErrorHandler::errorMessage( *e, d ).data());
|
//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 )
|
if( kwin_sync )
|
||||||
fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data() );
|
fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data() );
|
||||||
|
|
Loading…
Reference in a new issue