config: merge all rules set for the same workspace selection (#5656)

This commit is contained in:
thejch 2024-04-19 18:20:16 -07:00 committed by GitHub
parent 1ebc32f5f4
commit 10caa03ce5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 36 additions and 29 deletions

View file

@ -205,6 +205,7 @@ class CConfigManager {
std::optional<std::string> verifyConfigExists();
void postConfigReload(const Hyprlang::CParseResult& result);
void reload();
SWorkspaceRule mergeWorkspaceRules(const SWorkspaceRule&, const SWorkspaceRule&);
};
inline std::unique_ptr<CConfigManager> g_pConfigManager;