From 31e1287da26c7389d1c65f05fe40e647a3ad2689 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 5 Mar 2024 20:45:23 +0000 Subject: [PATCH] subsurface: don't update transform on unmap fixes #4969 --- src/desktop/Subsurface.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/desktop/Subsurface.cpp b/src/desktop/Subsurface.cpp index bdf5aa35..0d76a147 100644 --- a/src/desktop/Subsurface.cpp +++ b/src/desktop/Subsurface.cpp @@ -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