Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 984727ad authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[effects] Add plasmashell to the blacklist of Glide and Scale effect on Wayland

Summary: Do the same what we do on X11.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16271
parent 8f14a00e
......@@ -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();
}
......
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment