workspacerules: fix workspace rule loops (#5433)

This commit is contained in:
thejch 2024-04-05 08:54:30 -07:00 committed by GitHub
parent 942172d2dc
commit 1e8f57c734
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 68 additions and 91 deletions

View file

@ -105,7 +105,7 @@ class CConfigManager {
static std::string getMainConfigPath();
SMonitorRule getMonitorRuleFor(const CMonitor&);
std::vector<SWorkspaceRule> getWorkspaceRulesFor(PHLWORKSPACE workspace);
SWorkspaceRule getWorkspaceRuleFor(PHLWORKSPACE workspace);
std::string getDefaultWorkspaceFor(const std::string&);
CMonitor* getBoundMonitorForWS(const std::string&);