From 070d7699a71cf5fd00379daea4442db3852a747c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 1 Aug 2022 12:16:33 +0200 Subject: added decoration:blur_new_optimizations --- src/managers/AnimationManager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/managers/AnimationManager.cpp') diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp index 4cebaab5..85258003 100644 --- a/src/managers/AnimationManager.cpp +++ b/src/managers/AnimationManager.cpp @@ -159,6 +159,9 @@ void CAnimationManager::tick() { w->updateWindowDecos(); } + } else if (PLAYER) { + if (PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM) + g_pHyprOpenGL->markBlurDirtyForMonitor(PMONITOR); } break; } -- cgit v1.2.3