summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index d10126dd..1325f557 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -98,7 +98,8 @@ std::string dispatchKeyword(std::string in) {
std::string retval = g_pConfigManager->parseKeyword(COMMAND, VALUE, true);
- g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords
+ if (COMMAND == "monitor")
+ g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords
if (retval == "")
return "ok";