Commit 675d5c42 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects: Remove outdated ksplash window class strings

ksplash nowadays has only "ksplashqml ksplashqml" window class.
parent 94f55835
......@@ -14,9 +14,7 @@ var blacklist = [
"ksmserver-logout-greeter ksmserver-logout-greeter",
// The splash screen has to be animated only by the login effect.
"ksplashqml ksplashqml",
"ksplashsimple ksplashsimple",
"ksplashx ksplashx"
"ksplashqml ksplashqml"
];
function isFadeWindow(w) {
......
......@@ -15,9 +15,7 @@ var blacklist = [
"ksmserver-logout-greeter ksmserver-logout-greeter",
// KDE Plasma splash screen has to be animated only by the login effect.
"ksplashqml ksplashqml",
"ksplashsimple ksplashsimple",
"ksplashx ksplashx"
"ksplashqml ksplashqml"
];
function isPopupWindow(window) {
......
......@@ -27,8 +27,6 @@ static const QSet<QString> s_blacklist {
QStringLiteral("ksmserver ksmserver"),
QStringLiteral("ksmserver-logout-greeter ksmserver-logout-greeter"),
QStringLiteral("ksplashqml ksplashqml"),
QStringLiteral("ksplashsimple ksplashsimple"),
QStringLiteral("ksplashx ksplashx")
};
GlideEffect::GlideEffect()
......
......@@ -17,17 +17,7 @@ var loginEffect = {
loginEffect.isFadeToBlack = effect.readConfig("FadeToBlack", false);
},
isLoginSplash: function (window) {
var windowClass = window.windowClass;
if (windowClass === "ksplashx ksplashx") {
return true;
}
if (windowClass === "ksplashsimple ksplashsimple") {
return true;
}
if (windowClass === "ksplashqml ksplashqml") {
return true;
}
return false;
return window.windowClass === "ksplashqml ksplashqml";
},
fadeOut: function (window) {
animate({
......
......@@ -15,9 +15,7 @@ var blacklist = [
"ksmserver-logout-greeter ksmserver-logout-greeter",
// KDE Plasma splash screen has to be animated only by the login effect.
"ksplashqml ksplashqml",
"ksplashsimple ksplashsimple",
"ksplashx ksplashx"
"ksplashqml ksplashqml"
];
var scaleEffect = {
......
Supports Markdown
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