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
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;