Use printf for the backtrace, just like with the X error itself,

so that it can be seen also with non-debug builds.


svn path=/trunk/KDE/kdebase/workspace/; revision=788104
remotes/origin/Plasma/5.0
Luboš Luňák 18 years ago
parent bfbe971ed6
commit 79b4e8e4fc
  1. 2
      main.cpp

@ -180,7 +180,7 @@ int x11ErrorHandler(Display *d, XErrorEvent *e)
fprintf( stderr, "kwin: X Error (%s)\n", errorMessage( *e, d ).data());
if( kwin_sync )
kDebug() << kBacktrace();
fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data());
if (initting)
{

Loading…
Cancel
Save