formating

This commit is contained in:
Lampros Pitsillos 2023-09-08 23:15:41 +03:00
parent b4348c74e4
commit 3b01541ad2
3 changed files with 15 additions and 17 deletions

View file

@ -28,8 +28,7 @@
#include "hyprerror/HyprError.hpp" #include "hyprerror/HyprError.hpp"
#include "plugins/PluginSystem.hpp" #include "plugins/PluginSystem.hpp"
enum eManagersInitStage enum eManagersInitStage {
{
STAGE_PRIORITY = 0, STAGE_PRIORITY = 0,
STAGE_LATE STAGE_LATE
}; };

View file

@ -1158,7 +1158,7 @@ void CConfigManager::handleWorkspaceRules(const std::string& command, const std:
wsRule.monitor = rule.substr(delim + 8); wsRule.monitor = rule.substr(delim + 8);
else if ((delim = rule.find("default:")) != std::string::npos) else if ((delim = rule.find("default:")) != std::string::npos)
wsRule.isDefault = configStringToInt(rule.substr(delim + 8)); wsRule.isDefault = configStringToInt(rule.substr(delim + 8));
else if ((delim = rule.find("maxclients:")) != std::string::npos){ else if ((delim = rule.find("maxclients:")) != std::string::npos) {
size_t silent = rule.find("silent"); size_t silent = rule.find("silent");
if (silent != std::string::npos) { if (silent != std::string::npos) {
wsRule.maxClientsSilent = true; wsRule.maxClientsSilent = true;
@ -1167,7 +1167,6 @@ void CConfigManager::handleWorkspaceRules(const std::string& command, const std:
wsRule.maxClients = configStringToInt(rule.substr(delim + 11)); wsRule.maxClients = configStringToInt(rule.substr(delim + 11));
} }
} }
}; };
size_t pos = 0; size_t pos = 0;