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()