diff options
| author | Ikalco <73481042+ikalco@users.noreply.github.com> | 2024-12-17 10:31:27 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-17 17:31:27 +0100 |
| commit | e2c78c00e50a0835c3830c8a0cd82049dc5700b8 (patch) | |
| tree | 7ac17c752f1569e60a63e5356e199de6968cbb0e /src/config/ConfigManager.cpp | |
| parent | bd7092a9feb39275a9eb1426046a46671e0fe580 (diff) | |
internal: remove dead code (#8748)
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index f77a6b42..f4ba7379 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1483,22 +1483,6 @@ void CConfigManager::dispatchExecShutdown() { handleExecShutdown("", "hyprctl dispatch exit"); } -void CConfigManager::appendMonitorRule(const SMonitorRule& r) { - m_vMonitorRules.emplace_back(r); -} - -bool CConfigManager::replaceMonitorRule(const SMonitorRule& newrule) { - // Looks for an existing monitor rule (compared by name). - // If the rule exists, it is replaced with the input rule. - for (auto& r : m_vMonitorRules) { - if (r.name == newrule.name) { - r = newrule; - return true; - } - } - return false; -} - void CConfigManager::performMonitorReload() { bool overAgain = false; @@ -1718,10 +1702,6 @@ std::unordered_map<std::string, SAnimationPropertyConfig> CConfigManager::getAni return animationConfig; } -void onPluginLoadUnload(const std::string& name, bool load) { - // -} - void CConfigManager::addPluginConfigVar(HANDLE handle, const std::string& name, const Hyprlang::CConfigValue& value) { if (!name.starts_with("plugin:")) return; |
