effects/zoom: Specify effect chain position
Part-of: <https://invent.kde.org/plasma/kwin/-/merge_requests/2451>
This commit is contained in:
parent
80b9617bad
commit
cc487d4292
2 changed files with 6 additions and 0 deletions
|
@ -517,4 +517,9 @@ bool ZoomEffect::isActive() const
|
|||
return zoom != 1.0 || zoom != target_zoom;
|
||||
}
|
||||
|
||||
int ZoomEffect::requestedEffectChainPosition() const
|
||||
{
|
||||
return 10;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -46,6 +46,7 @@ public:
|
|||
void paintScreen(int mask, const QRegion ®ion, ScreenPaintData &data) override;
|
||||
void postPaintScreen() override;
|
||||
bool isActive() const override;
|
||||
int requestedEffectChainPosition() const override;
|
||||
// for properties
|
||||
qreal configuredZoomFactor() const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue