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() {
|
||||
const auto ORIGBORDERSIZE = ConfigManager::getInt("border_size");
|
||||
const auto ORIGBORDERSIZE = configValues["border_size"].intValue;
|
||||
Debug::log(LOG, "Reloading the config!");
|
||||
ConfigManager::parseError = ""; // reset the error
|
||||
ConfigManager::currentCategory = ""; // reset the category
|
||||
|
@ -404,7 +404,7 @@ void ConfigManager::loadConfigLoadVars() {
|
|||
loadBar = true;
|
||||
isFirstLaunch = false;
|
||||
|
||||
if (ORIGBORDERSIZE != ConfigManager::getInt("border_size")) EWMH::refreshAllExtents();
|
||||
if (ORIGBORDERSIZE != configValues["border_size"].intValue) EWMH::refreshAllExtents();
|
||||
}
|
||||
|
||||
void ConfigManager::applyKeybindsToX() {
|
||||
|
|
Loading…
Reference in a new issue