From f210d42d147fd661d65c13d629380b75e8bbc2ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 23 Jul 2013 06:37:29 +0200 Subject: [PATCH] Disable Shadow System for porting Shadow system needs to change to not pass XPixmap handles around. That was handy in Qt 4 but is difficult in both Widget Style and KWin in Qt5. --- shadow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shadow.cpp b/shadow.cpp index 4470749c81..5a88bb5c51 100644 --- a/shadow.cpp +++ b/shadow.cpp @@ -94,6 +94,7 @@ QVector< long > Shadow::readX11ShadowProperty(WId id) bool Shadow::init(const QVector< long > &data) { +#if KWIN_QT5_PORTING for (int i=0; i &data) } buildQuads(); return true; +#else +#warning Shadow system needs porting + return false; +#endif } void Shadow::updateShadowRegion()