mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 05:25:58 +01:00
calculate damage properly for layers on commit
since the damageSurface func now works, we can remove this old remnant
This commit is contained in:
parent
ac8a23c3ae
commit
96a23eca81
1 changed files with 1 additions and 2 deletions
|
@ -206,6 +206,5 @@ void Events::listener_commitLayerSurface(void* owner, void* data) {
|
||||||
|
|
||||||
layersurface->position = Vector2D(layersurface->geometry.x, layersurface->geometry.y);
|
layersurface->position = Vector2D(layersurface->geometry.x, layersurface->geometry.y);
|
||||||
|
|
||||||
// TODO: optimize this. This does NOT need to be here but it prevents some issues with full DT.
|
g_pHyprRenderer->damageSurface(layersurface->layerSurface->surface, layersurface->position.x, layersurface->position.y);
|
||||||
g_pHyprRenderer->damageMonitor(PMONITOR);
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue