aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-02-09 20:28:39 +0000
committerVaxry <[email protected]>2024-02-09 20:28:39 +0000
commit727dc9ae5e867ec6d870c7bf20033a223a5ce81b (patch)
tree0a365117e279f21a2f0867c58ef4226d5cadbb06
parentf11766f932dfee2d1f4728862521865b9be84430 (diff)
downloadHyprland-727dc9ae5e867ec6d870c7bf20033a223a5ce81b.tar.gz
Hyprland-727dc9ae5e867ec6d870c7bf20033a223a5ce81b.zip
fix ws rules
-rw-r--r--src/config/ConfigManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 7d19bef7..9b9a95d2 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -2149,7 +2149,7 @@ std::optional<std::string> CConfigManager::handleWorkspaceRules(const std::strin
};
size_t pos = 0;
- std::string rule;
+ std::string rule = rules;
while ((pos = rules.find(',')) != std::string::npos) {
rule = rules.substr(0, pos);
const auto R = assignRule(rule);