diff --git a/src/decorationitem.cpp b/src/decorationitem.cpp index 23fcb79462..3d1df393f8 100644 --- a/src/decorationitem.cpp +++ b/src/decorationitem.cpp @@ -45,7 +45,9 @@ Decoration::DecoratedClientImpl *DecorationRenderer::client() const void DecorationRenderer::invalidate() { - addDamage(m_client->client()->rect()); + if (m_client) { + addDamage(m_client->client()->rect()); + } m_imageSizesDirty = true; }