From 63e4edb1ffd0bf4515874fc69309bc58769eafd9 Mon Sep 17 00:00:00 2001 From: Maxim Kudinov Date: Tue, 18 Jun 2024 14:06:27 +0300 Subject: [PATCH] window: fix scaling blur when moving between monitors --- src/events/Windows.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index d37ba12b4e9..c2c2217fa5d 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -737,6 +737,8 @@ void Events::listener_commitWindow(void* owner, void* data) { if (!PWINDOW->m_pWorkspace->m_bVisible) return; + PWINDOW->updateSurfaceScaleTransformDetails(); + g_pHyprRenderer->damageSurface(PWINDOW->m_pWLSurface->resource(), PWINDOW->m_vRealPosition.goal().x, PWINDOW->m_vRealPosition.goal().y, PWINDOW->m_bIsX11 ? 1.0 / PWINDOW->m_fX11SurfaceScaledBy : 1.0);