diff --git a/shadow.cpp b/shadow.cpp index 4936a26c87..9581290b10 100644 --- a/shadow.cpp +++ b/shadow.cpp @@ -56,6 +56,11 @@ Shadow *Shadow::createShadow(Toplevel *toplevel) if (toplevel->effectWindow() && toplevel->effectWindow()->sceneWindow()) { toplevel->effectWindow()->sceneWindow()->updateShadow(shadow); } + if (shadow->hasDecorationShadow()) { + if (toplevel->effectWindow()) { + toplevel->effectWindow()->buildQuads(true); + } + } } return shadow; }