From 37f2e1ddbe4020e59395b2f364c5a6e7d6db550a Mon Sep 17 00:00:00 2001 From: vaxerski Date: Thu, 22 Sep 2022 20:57:09 +0100 Subject: [PATCH] don't recalc pseudo on fullscreen --- src/managers/KeybindManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index f0b6b8cb..df4e3637 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -551,7 +551,8 @@ void CKeybindManager::toggleActivePseudo(std::string args) { ACTIVEWINDOW->m_bIsPseudotiled = !ACTIVEWINDOW->m_bIsPseudotiled; - g_pLayoutManager->getCurrentLayout()->recalculateWindow(ACTIVEWINDOW); + if (!ACTIVEWINDOW->m_bIsFullscreen) + g_pLayoutManager->getCurrentLayout()->recalculateWindow(ACTIVEWINDOW); } void CKeybindManager::changeworkspace(std::string args) {