Blacklist Spectacle for all window open/close effects
Spectacle needs to be blacklisted in order to stay out of its own screenshots. BUG: 467890 BUG: 463105 CCBUG: 465784
This commit is contained in:
parent
d4d5e3b7a8
commit
616783d892
3 changed files with 13 additions and 2 deletions
|
@ -15,7 +15,11 @@ const blacklist = [
|
|||
"ksmserver-logout-greeter ksmserver-logout-greeter",
|
||||
|
||||
// The splash screen has to be animated only by the login effect.
|
||||
"ksplashqml ksplashqml"
|
||||
"ksplashqml ksplashqml",
|
||||
|
||||
// Spectacle needs to be blacklisted in order to stay out of its own screenshots.
|
||||
"spectacle spectacle", // x11
|
||||
"spectacle org.kde.spectacle", // wayland
|
||||
];
|
||||
|
||||
class FadeEffect {
|
||||
|
|
|
@ -33,6 +33,9 @@ static const QSet<QString> s_blacklist{
|
|||
QStringLiteral("ksmserver ksmserver"),
|
||||
QStringLiteral("ksmserver-logout-greeter ksmserver-logout-greeter"),
|
||||
QStringLiteral("ksplashqml ksplashqml"),
|
||||
// Spectacle needs to be blacklisted in order to stay out of its own screenshots.
|
||||
QStringLiteral("spectacle spectacle"), // x11
|
||||
QStringLiteral("spectacle org.kde.spectacle"), // wayland
|
||||
};
|
||||
|
||||
static QMatrix4x4 createPerspectiveMatrix(const QRectF &rect, const qreal scale, const QMatrix4x4 &renderTargetTransformation)
|
||||
|
|
|
@ -15,7 +15,11 @@ const blacklist = [
|
|||
"ksmserver-logout-greeter ksmserver-logout-greeter",
|
||||
|
||||
// KDE Plasma splash screen has to be animated only by the login effect.
|
||||
"ksplashqml ksplashqml"
|
||||
"ksplashqml ksplashqml",
|
||||
|
||||
// Spectacle needs to be blacklisted in order to stay out of its own screenshots.
|
||||
"spectacle spectacle", // x11
|
||||
"spectacle org.kde.spectacle", // wayland
|
||||
];
|
||||
|
||||
class ScaleEffect {
|
||||
|
|
Loading…
Reference in a new issue