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