internal: minor style fixes

This commit is contained in:
vaxerski
2023-06-20 21:35:54 +02:00
parent 2295bbdd80
commit cabdf38ce4
2 changed files with 11 additions and 15 deletions

View File

@@ -42,9 +42,8 @@ bool CLayoutManager::removeLayout(IHyprLayout* layout) {
if (IT == m_vLayouts.end() || IT->first == "dwindle" || IT->first == "master")
return false;
if (m_iCurrentLayoutID == IT - m_vLayouts.begin()) {
if (m_iCurrentLayoutID == IT - m_vLayouts.begin())
switchToLayout("dwindle");
}
Debug::log(LOG, "Removed a layout %s at %lx", IT->first.c_str(), layout);