mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 22:26:00 +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