mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
layerSurface: warp position and size before taking a snapshot (#10054)
This commit is contained in:
@@ -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());
|
||||
|
||||
|
Reference in New Issue
Block a user