diff --git a/platform.cpp b/platform.cpp index b9bb859f0f..734c783bf3 100644 --- a/platform.cpp +++ b/platform.cpp @@ -483,7 +483,7 @@ OutlineVisual *Platform::createOutline(Outline *outline) Decoration::Renderer *Platform::createDecorationRenderer(Decoration::DecoratedClientImpl *client) { if (Compositor::self()->hasScene()) { - Compositor::self()->scene()->createDecorationRenderer(client); + return Compositor::self()->scene()->createDecorationRenderer(client); } return nullptr; }