effects: Remove outdated ksplash window class strings
ksplash nowadays has only "ksplashqml ksplashqml" window class.
This commit is contained in:
parent
94f558356b
commit
675d5c4216
5 changed files with 4 additions and 22 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue