diff --git a/effects/glide/glide.cpp b/effects/glide/glide.cpp index 7a63ee01f4..866d4b9e15 100644 --- a/effects/glide/glide.cpp +++ b/effects/glide/glide.cpp @@ -301,7 +301,8 @@ bool GlideEffect::isGlideWindow(EffectWindow *w) const // So, the only way to decide whether a window should be animated is // to use a heuristic: if a window has decoration, then it's most // likely a dialog or a settings window so we have to animate it. - if (w->windowClass() == QLatin1String("plasmashell plasmashell")) { + if (w->windowClass() == QLatin1String("plasmashell plasmashell") + || w->windowClass() == QLatin1String("plasmashell org.kde.plasmashell")) { return w->hasDecoration(); } diff --git a/effects/scale/scale.cpp b/effects/scale/scale.cpp index 6584de0fe4..530f8de364 100644 --- a/effects/scale/scale.cpp +++ b/effects/scale/scale.cpp @@ -262,7 +262,8 @@ bool ScaleEffect::isScaleWindow(EffectWindow *w) const // So, the only way to decide whether a window should be animated is // to use a heuristic: if a window has decoration, then it's most // likely a dialog or a settings window so we have to animate it. - if (w->windowClass() == QLatin1String("plasmashell plasmashell")) { + if (w->windowClass() == QLatin1String("plasmashell plasmashell") + || w->windowClass() == QLatin1String("plasmashell org.kde.plasmashell")) { return w->hasDecoration(); }