effects/overview: Specify effect chain position

The present windows effect specifies a chain position of 70. Do the
same in the overview effect.
This commit is contained in:
Vlad Zahorodnii 2021-08-27 12:01:17 +03:00
parent bd6d04b417
commit 6c62f12bc1
2 changed files with 6 additions and 0 deletions

View file

@ -202,6 +202,11 @@ bool OverviewEffect::isActive() const
return !m_screenViews.isEmpty() && !effects->isScreenLocked();
}
int OverviewEffect::requestedEffectChainPosition() const
{
return 70;
}
bool OverviewEffect::borderActivated(ElectricBorder border)
{
if (m_borderActivate.contains(border)) {

View file

@ -54,6 +54,7 @@ public:
void paintScreen(int mask, const QRegion &region, ScreenPaintData &data) override;
void postPaintScreen() override;
bool isActive() const override;
int requestedEffectChainPosition() const override;
bool borderActivated(ElectricBorder border) override;
void reconfigure(ReconfigureFlags flags) override;