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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// end any pending animations so that snapshot has right dimensions
|
||||||
|
realPosition->warp();
|
||||||
|
realSize->warp();
|
||||||
|
|
||||||
// make a snapshot and start fade
|
// make a snapshot and start fade
|
||||||
g_pHyprRenderer->makeLayerSnapshot(self.lock());
|
g_pHyprRenderer->makeLayerSnapshot(self.lock());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue