aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-09-22 23:36:28 +0100
committervaxerski <[email protected]>2023-09-22 23:36:28 +0100
commit9f68aa33eaa6fc353264debfda51c13f861240fd (patch)
tree100b8be911abb7ea78fc3894a1d913101fead517
parentea45bfb63c5a1196a7f1fc2996d01ca2f899ca6f (diff)
downloadHyprland-9f68aa33eaa6fc353264debfda51c13f861240fd.tar.gz
Hyprland-9f68aa33eaa6fc353264debfda51c13f861240fd.zip
renderer: damage monitor on special workspace change
fixes #3396
-rw-r--r--src/helpers/Monitor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp
index c2a4c823..97a8fe20 100644
--- a/src/helpers/Monitor.cpp
+++ b/src/helpers/Monitor.cpp
@@ -616,6 +616,8 @@ void CMonitor::setSpecialWorkspace(CWorkspace* const pWorkspace) {
g_pInputManager->refocus();
g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", pWorkspace->m_szName + "," + szName});
+
+ g_pHyprRenderer->damageMonitor(this);
}
void CMonitor::setSpecialWorkspace(const int& id) {