From 6c62f12bc1383b4e6920b8a018094c220e2895cc Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 27 Aug 2021 12:01:17 +0300 Subject: [PATCH] effects/overview: Specify effect chain position The present windows effect specifies a chain position of 70. Do the same in the overview effect. --- src/effects/overview/overvieweffect.cpp | 5 +++++ src/effects/overview/overvieweffect.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/effects/overview/overvieweffect.cpp b/src/effects/overview/overvieweffect.cpp index 8a8451e57a..df94b88dde 100644 --- a/src/effects/overview/overvieweffect.cpp +++ b/src/effects/overview/overvieweffect.cpp @@ -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)) { diff --git a/src/effects/overview/overvieweffect.h b/src/effects/overview/overvieweffect.h index 3d89994492..b0332955f0 100644 --- a/src/effects/overview/overvieweffect.h +++ b/src/effects/overview/overvieweffect.h @@ -54,6 +54,7 @@ public: void paintScreen(int mask, const QRegion ®ion, ScreenPaintData &data) override; void postPaintScreen() override; bool isActive() const override; + int requestedEffectChainPosition() const override; bool borderActivated(ElectricBorder border) override; void reconfigure(ReconfigureFlags flags) override;