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 "plugins/PluginSystem.hpp"
enum eManagersInitStage
{
enum eManagersInitStage {
STAGE_PRIORITY = 0,
STAGE_LATE
};

View file

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