Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
675d5c42
Commit
675d5c42
authored
Apr 19, 2021
by
Vlad Zahorodnii
Browse files
effects: Remove outdated ksplash window class strings
ksplash nowadays has only "ksplashqml ksplashqml" window class.
parent
94f55835
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/effects/fade/package/contents/code/main.js
View file @
675d5c42
...
...
@@ -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
)
{
...
...
src/effects/fadingpopups/package/contents/code/main.js
View file @
675d5c42
...
...
@@ -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
)
{
...
...
src/effects/glide/glide.cpp
View file @
675d5c42
...
...
@@ -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
()
...
...
src/effects/login/package/contents/code/main.js
View file @
675d5c42
...
...
@@ -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
({
...
...
src/effects/scale/package/contents/code/main.js
View file @
675d5c42
...
...
@@ -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
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment