mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 22:51:58 -07:00
configmanager: fix substr offset in default ws rule
This commit is contained in:
@@ -1055,7 +1055,7 @@ void CConfigManager::handleWorkspaceRules(const std::string& command, const std:
|
||||
else if ((delim = rule.find("monitor:")) != std::string::npos)
|
||||
wsRule.monitor = rule.substr(delim + 8);
|
||||
else if ((delim = rule.find("default:")) != std::string::npos)
|
||||
wsRule.isDefault = configStringToInt(rule.substr(delim + 9));
|
||||
wsRule.isDefault = configStringToInt(rule.substr(delim + 8));
|
||||
};
|
||||
|
||||
size_t pos = 0;
|
||||
|
Reference in New Issue
Block a user