effects/mousemark: Specify effect chain position

BUG: 457639
This commit is contained in:
Vlad Zahorodnii 2022-09-19 11:37:00 +03:00
parent fdb40395f0
commit 14513ebcda
2 changed files with 6 additions and 0 deletions

View file

@ -226,4 +226,9 @@ bool MouseMarkEffect::isActive() const
return (!marks.isEmpty() || !drawing.isEmpty()) && !effects->isScreenLocked();
}
int MouseMarkEffect::requestedEffectChainPosition() const
{
return 10;
}
} // namespace

View file

@ -28,6 +28,7 @@ public:
void reconfigure(ReconfigureFlags) override;
void paintScreen(int mask, const QRegion &region, ScreenPaintData &data) override;
bool isActive() const override;
int requestedEffectChainPosition() const override;
// for properties
int configuredWidth() const