effects/{blur,contrast}: Move to the front in the effect chain pos

Backdrop effects such as blur and background contrast have to be in the
front of the effect chain because they need to work with background
before the window is painted on top.

Hopefully it's going to fix panel popup blinking visual artifacts.
This commit is contained in:
Vlad Zahorodnii 2023-01-13 13:41:39 +02:00
parent f95eb71173
commit d32f8df7c8
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ public:
int requestedEffectChainPosition() const override int requestedEffectChainPosition() const override
{ {
return 76; return 21;
} }
bool eventFilter(QObject *watched, QEvent *event) override; bool eventFilter(QObject *watched, QEvent *event) override;

View file

@ -48,7 +48,7 @@ public:
int requestedEffectChainPosition() const override int requestedEffectChainPosition() const override
{ {
return 75; return 20;
} }
bool eventFilter(QObject *watched, QEvent *event) override; bool eventFilter(QObject *watched, QEvent *event) override;