core: match all workspace rules instead of the first one only (#5340)

This commit is contained in:
thejch 2024-03-30 17:49:53 -07:00 committed by GitHub
parent 1aed45f61d
commit 5e8c25d498
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 91 additions and 38 deletions

View file

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