diff --git a/src/desktop/LayerSurface.cpp b/src/desktop/LayerSurface.cpp index 8747d0790..c92169bc5 100644 --- a/src/desktop/LayerSurface.cpp +++ b/src/desktop/LayerSurface.cpp @@ -214,6 +214,10 @@ void CLayerSurface::onUnmap() { return; } + // end any pending animations so that snapshot has right dimensions + realPosition->warp(); + realSize->warp(); + // make a snapshot and start fade g_pHyprRenderer->makeLayerSnapshot(self.lock());