mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 05:49:49 +01:00
fix ws rules
This commit is contained in:
parent
f11766f932
commit
727dc9ae5e
1 changed files with 1 additions and 1 deletions
|
@ -2149,7 +2149,7 @@ std::optional<std::string> CConfigManager::handleWorkspaceRules(const std::strin
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t pos = 0;
|
size_t pos = 0;
|
||||||
std::string rule;
|
std::string rule = rules;
|
||||||
while ((pos = rules.find(',')) != std::string::npos) {
|
while ((pos = rules.find(',')) != std::string::npos) {
|
||||||
rule = rules.substr(0, pos);
|
rule = rules.substr(0, pos);
|
||||||
const auto R = assignRule(rule);
|
const auto R = assignRule(rule);
|
||||||
|
|
Loading…
Reference in a new issue