diff options
author | Vaxry <[email protected]> | 2024-02-09 20:28:39 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-02-09 20:28:39 +0000 |
commit | 727dc9ae5e867ec6d870c7bf20033a223a5ce81b (patch) | |
tree | 0a365117e279f21a2f0867c58ef4226d5cadbb06 | |
parent | f11766f932dfee2d1f4728862521865b9be84430 (diff) | |
download | Hyprland-727dc9ae5e867ec6d870c7bf20033a223a5ce81b.tar.gz Hyprland-727dc9ae5e867ec6d870c7bf20033a223a5ce81b.zip |
fix ws rules
-rw-r--r-- | src/config/ConfigManager.cpp | 2 |
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); |