summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-05-12 01:16:27 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-05-12 01:16:27 +0100
commitcc01550aff70a0cbee5b62db5f4a08789244998f (patch)
tree659053927d8cf5e314ec4fca8d6ba0b6a45222eb /src
parent413a36a914d5ccab38feb3cab93db8f2b1352363 (diff)
hyprctl: recalc layout on dynamic workspace
Diffstat (limited to 'src')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 32d544a0..830dc34f 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -722,7 +722,7 @@ std::string dispatchKeyword(std::string in) {
}
// decorations will probably need a repaint
- if (COMMAND.contains("decoration:") || COMMAND.contains("border")) {
+ if (COMMAND.contains("decoration:") || COMMAND.contains("border") || COMMAND == "workspace") {
for (auto& m : g_pCompositor->m_vMonitors) {
g_pHyprRenderer->damageMonitor(m.get());
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->ID);