From c2afbcbd879cbaa96857b509e97336bfd1e2639c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 22 Jul 2013 16:16:38 +0200 Subject: [PATCH] Disable the x11ErrorHandler for the porting --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 3bc6d5c1c0..6c8e96691a 100644 --- a/main.cpp +++ b/main.cpp @@ -230,6 +230,7 @@ static QByteArray errorMessage(const XErrorEvent& event, Display* dpy) static int x11ErrorHandler(Display* d, XErrorEvent* e) { +#if KWIN_QT5_PORTING Q_UNUSED(d); bool ignore_badwindow = true; // Might be temporary @@ -249,6 +250,7 @@ static int x11ErrorHandler(Display* d, XErrorEvent* e) if (kwin_sync) fprintf(stderr, "%s\n", kBacktrace().toLocal8Bit().data()); +#endif return 0; }