diff options
author | vaxerski <[email protected]> | 2022-12-26 13:26:53 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-12-26 13:27:02 +0100 |
commit | 545e63d1dd14c76e9faad7839ad255dc9ead4cd8 (patch) | |
tree | 318cedf6d102503635ab389e8cda7feb4e2821a9 | |
parent | fa79703b0441d2bcbdfdc2f6b896b344a0e53641 (diff) | |
download | Hyprland-545e63d1dd14c76e9faad7839ad255dc9ead4cd8.tar.gz Hyprland-545e63d1dd14c76e9faad7839ad255dc9ead4cd8.zip |
sanity check workspaces after enabling mirror
-rw-r--r-- | src/helpers/Monitor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 74b18859..b27b2c4c 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -407,6 +407,8 @@ void CMonitor::setMirror(const std::string& mirrorOf) { std::erase_if(g_pCompositor->m_vMonitors, [&](const auto& other) { return other.get() == this; }); g_pCompositor->setActiveMonitor(g_pCompositor->m_vMonitors.front().get()); + + g_pCompositor->sanityCheckWorkspaces(); } } |