aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-01-11 17:57:54 +0100
committervaxerski <[email protected]>2023-01-11 17:57:54 +0100
commitdf30f0519af12630693ed82724901d80bb6833bb (patch)
treea1541bc2938b092d32e479acfe84dbca76e23992
parent8ba4f34a7cbf1963341ed02b9092622d92c73481 (diff)
downloadHyprland-df30f0519af12630693ed82724901d80bb6833bb.tar.gz
Hyprland-df30f0519af12630693ed82724901d80bb6833bb.zip
damage monitor on stack rotations
-rw-r--r--src/Compositor.cpp3
1 files changed, 3 insertions, 0 deletions
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);