From 14513ebcdaf6f8d790abe1f013a557b15ed4f413 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 19 Sep 2022 11:37:00 +0300 Subject: [PATCH] effects/mousemark: Specify effect chain position BUG: 457639 --- src/effects/mousemark/mousemark.cpp | 5 +++++ src/effects/mousemark/mousemark.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/effects/mousemark/mousemark.cpp b/src/effects/mousemark/mousemark.cpp index 3af8bb51e0..76bf020277 100644 --- a/src/effects/mousemark/mousemark.cpp +++ b/src/effects/mousemark/mousemark.cpp @@ -226,4 +226,9 @@ bool MouseMarkEffect::isActive() const return (!marks.isEmpty() || !drawing.isEmpty()) && !effects->isScreenLocked(); } +int MouseMarkEffect::requestedEffectChainPosition() const +{ + return 10; +} + } // namespace diff --git a/src/effects/mousemark/mousemark.h b/src/effects/mousemark/mousemark.h index 561c1c662a..e248dc0d2e 100644 --- a/src/effects/mousemark/mousemark.h +++ b/src/effects/mousemark/mousemark.h @@ -28,6 +28,7 @@ public: void reconfigure(ReconfigureFlags) override; void paintScreen(int mask, const QRegion ®ion, ScreenPaintData &data) override; bool isActive() const override; + int requestedEffectChainPosition() const override; // for properties int configuredWidth() const