This commit is contained in:
vaxerski 2021-12-17 22:44:20 +01:00
parent ba4a3f7909
commit 0f581f6731
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ void CWindowManager::setEffectiveSizePosUsingConfig(CWindow* pWindow) {
return;
const auto MONITOR = getMonitorFromWindow(pWindow);
const auto BARHEIGHT = (MONITOR.ID == pWindow->getMonitor() ? (ConfigManager::getInt("bar:enabled") == 1 ? ConfigManager::getInt("bar:height") : ConfigManager::parseError == "" ? 0 : ConfigManager::getInt("bar:height")) : 0);
const auto BARHEIGHT = (MONITOR->ID == pWindow->getMonitor() ? (ConfigManager::getInt("bar:enabled") == 1 ? ConfigManager::getInt("bar:height") : ConfigManager::parseError == "" ? 0 : ConfigManager::getInt("bar:height")) : 0);
// set some flags.