I think this fixes #34

This commit is contained in:
vaxerski 2022-01-23 22:38:08 +01:00
parent 4d7592bf5f
commit 51e5ab64d2

View file

@ -1858,7 +1858,7 @@ void CWindowManager::updateBarInfo() {
message.lastWindowClass = winclassname; message.lastWindowClass = winclassname;
const auto WORKSPACE = getWorkspaceByID(activeWorkspaces[ConfigManager::getInt("bar:monitor") > monitors.size() ? 0 : ConfigManager::getInt("bar:monitor")]); auto* const WORKSPACE = getWorkspaceByID(activeWorkspaces[ConfigManager::getInt("bar:monitor") > monitors.size() ? 0 : ConfigManager::getInt("bar:monitor")]);
if (WORKSPACE) if (WORKSPACE)
message.fullscreenOnBar = WORKSPACE->getHasFullscreenWindow(); message.fullscreenOnBar = WORKSPACE->getHasFullscreenWindow();
else else