diff --git a/shadow.cpp b/shadow.cpp index 21d21cd355..56bc97f91c 100644 --- a/shadow.cpp +++ b/shadow.cpp @@ -129,6 +129,8 @@ Shadow *Shadow::createShadowFromWayland(Toplevel *toplevel) return nullptr; } return shadow; +#else + return nullptr; #endif } @@ -248,6 +250,8 @@ bool Shadow::init(const QPointer< KWayland::Server::ShadowInterface > &shadow) } buildQuads(); return true; +#else + return false; #endif }