mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
inside ConfigManager, don't use getter
This commit is contained in:
parent
fed9b8ca04
commit
e9e0805b91
1 changed files with 2 additions and 2 deletions
|
@ -318,7 +318,7 @@ void parseLine(std::string& line) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigManager::loadConfigLoadVars() {
|
void ConfigManager::loadConfigLoadVars() {
|
||||||
const auto ORIGBORDERSIZE = ConfigManager::getInt("border_size");
|
const auto ORIGBORDERSIZE = configValues["border_size"].intValue;
|
||||||
Debug::log(LOG, "Reloading the config!");
|
Debug::log(LOG, "Reloading the config!");
|
||||||
ConfigManager::parseError = ""; // reset the error
|
ConfigManager::parseError = ""; // reset the error
|
||||||
ConfigManager::currentCategory = ""; // reset the category
|
ConfigManager::currentCategory = ""; // reset the category
|
||||||
|
@ -404,7 +404,7 @@ void ConfigManager::loadConfigLoadVars() {
|
||||||
loadBar = true;
|
loadBar = true;
|
||||||
isFirstLaunch = false;
|
isFirstLaunch = false;
|
||||||
|
|
||||||
if (ORIGBORDERSIZE != ConfigManager::getInt("border_size")) EWMH::refreshAllExtents();
|
if (ORIGBORDERSIZE != configValues["border_size"].intValue) EWMH::refreshAllExtents();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigManager::applyKeybindsToX() {
|
void ConfigManager::applyKeybindsToX() {
|
||||||
|
|
Loading…
Reference in a new issue