mirror of
https://github.com/hyprwm/Hyprland
synced 2026-01-03 16:10:16 +01:00
layerSurface: warp position and size before taking a snapshot (#10054)
This commit is contained in:
parent
06469b3391
commit
f4e19d3f1e
1 changed files with 4 additions and 0 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue