subsurface: don't update transform on unmap

fixes #4969
This commit is contained in:
Vaxry 2024-03-05 20:45:23 +00:00
parent a4c1f4a03d
commit 31e1287da2

View file

@ -191,9 +191,6 @@ void CSubsurface::onUnmap() {
if (m_sWLSurface.wlr() == g_pCompositor->m_pLastFocus)
g_pInputManager->releaseAllMouseButtons();
if (m_pWindowParent)
m_pWindowParent->updateSurfaceScaleTransformDetails();
g_pInputManager->simulateMouseMovement();
// TODO: should this remove children? Currently it won't, only on .destroy