From 0f581f6731477e2ed06d20d36de51a1af2263937 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 17 Dec 2021 22:44:20 +0100 Subject: [PATCH] typo --- src/windowManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windowManager.cpp b/src/windowManager.cpp index d97e477..2412b04 100644 --- a/src/windowManager.cpp +++ b/src/windowManager.cpp @@ -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.