From d32f8df7c8615c46cec5df2f698a8dbdf58525af Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 13 Jan 2023 13:41:39 +0200 Subject: [PATCH] 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. --- src/effects/backgroundcontrast/contrast.h | 2 +- src/effects/blur/blur.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/backgroundcontrast/contrast.h b/src/effects/backgroundcontrast/contrast.h index c550fbb10f..d5b34c42c6 100644 --- a/src/effects/backgroundcontrast/contrast.h +++ b/src/effects/backgroundcontrast/contrast.h @@ -42,7 +42,7 @@ public: int requestedEffectChainPosition() const override { - return 76; + return 21; } bool eventFilter(QObject *watched, QEvent *event) override; diff --git a/src/effects/blur/blur.h b/src/effects/blur/blur.h index e8d8d84df6..1bfcd6dca5 100644 --- a/src/effects/blur/blur.h +++ b/src/effects/blur/blur.h @@ -48,7 +48,7 @@ public: int requestedEffectChainPosition() const override { - return 75; + return 20; } bool eventFilter(QObject *watched, QEvent *event) override;