From df30f0519af12630693ed82724901d80bb6833bb Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 11 Jan 2023 17:57:54 +0100 Subject: [PATCH] damage monitor on stack rotations --- src/Compositor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 6b72465d..2e331ad7 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1082,6 +1082,9 @@ void CCompositor::moveWindowToTop(CWindow* pWindow) { break; } } + + if (pw->m_bIsMapped) + g_pHyprRenderer->damageMonitor(getMonitorFromID(pw->m_iMonitorID)); }; moveToTop(pWindow);