summaryrefslogtreecommitdiff
path: root/src/events/Layers.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-01 15:29:49 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-01 15:29:49 +0200
commitb90159c08901bb48a965bb682479f7717f964942 (patch)
tree0119eb08398b9f2f01f3f17f8ec6814fd9eb94a1 /src/events/Layers.cpp
parent0ba17d4da3540d509653d0636e45a12c79f59220 (diff)
revert blur changes
Diffstat (limited to 'src/events/Layers.cpp')
-rw-r--r--src/events/Layers.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp
index 8d7c0d19..d41821a8 100644
--- a/src/events/Layers.cpp
+++ b/src/events/Layers.cpp
@@ -221,7 +221,6 @@ void Events::listener_commitLayerSurface(void* owner, void* data) {
if (layersurface->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || layersurface->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM)
g_pHyprOpenGL->markBlurDirtyForMonitor(PMONITOR); // so that blur is recalc'd
- // TODO: only the committed area
wlr_box geomFixed = {layersurface->geometry.x, layersurface->geometry.y, layersurface->geometry.width, layersurface->geometry.height};
g_pHyprRenderer->damageBox(&geomFixed);
@@ -258,7 +257,6 @@ void Events::listener_commitLayerSurface(void* owner, void* data) {
if (layersurface->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || layersurface->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM)
g_pHyprOpenGL->markBlurDirtyForMonitor(PMONITOR); // so that blur is recalc'd
- // TODO: only the committed area
}
g_pHyprRenderer->arrangeLayersForMonitor(PMONITOR->ID);