summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-01 12:16:33 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-01 12:16:33 +0200
commit070d7699a71cf5fd00379daea4442db3852a747c (patch)
tree1a09a81ed40935a91df6f30305887f608023f27d /src/managers/AnimationManager.cpp
parent8a4e04d789eda386b17d396c742f9ad30a3d35f7 (diff)
added decoration:blur_new_optimizations
Diffstat (limited to 'src/managers/AnimationManager.cpp')
-rw-r--r--src/managers/AnimationManager.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}