diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 822074c5..cea02d98 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -603,11 +603,11 @@ void CHyprRenderer::arrangeLayersForMonitor(const int& monitor) { wlr_box usableArea = {PMONITOR->vecPosition.x, PMONITOR->vecPosition.y, PMONITOR->vecSize.x, PMONITOR->vecSize.y}; - for (auto& la : PMONITOR->m_aLayerSurfaceLists) - arrangeLayerArray(PMONITOR, la, true, &usableArea); + // for (auto& la : PMONITOR->m_aLayerSurfaceLists) + // arrangeLayerArray(PMONITOR, la, true, &usableArea); - for (auto& la : PMONITOR->m_aLayerSurfaceLists) - arrangeLayerArray(PMONITOR, la, false, &usableArea); + // for (auto& la : PMONITOR->m_aLayerSurfaceLists) + // arrangeLayerArray(PMONITOR, la, false, &usableArea); PMONITOR->vecReservedTopLeft = Vector2D(usableArea.x, usableArea.y) - PMONITOR->vecPosition; PMONITOR->vecReservedBottomRight = PMONITOR->vecSize - Vector2D(usableArea.width, usableArea.height) - PMONITOR->vecReservedTopLeft; @@ -617,8 +617,8 @@ void CHyprRenderer::arrangeLayersForMonitor(const int& monitor) { PMONITOR->vecReservedBottomRight = PMONITOR->vecReservedBottomRight + Vector2D(ENTRY.right, ENTRY.bottom); // damage the monitor if can - // if (PMONITOR->damage) - // damageMonitor(PMONITOR); + if (PMONITOR->damage) + damageMonitor(PMONITOR); Debug::log(LOG, "Monitor %s layers arranged: reserved: %f %f %f %f", PMONITOR->szName.c_str(), PMONITOR->vecReservedTopLeft.x, PMONITOR->vecReservedTopLeft.y, PMONITOR->vecReservedBottomRight.x, PMONITOR->vecReservedBottomRight.y); }