mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 11:25:58 +01:00
formating
This commit is contained in:
parent
b4348c74e4
commit
3b01541ad2
3 changed files with 15 additions and 17 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue