a1edb413de2b74f70e9b21743debd58ac406340e

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

do not position nodes in reserved area

Diff

 1diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
 2index fa0f58f93b0920d17d48d2dc1be57bc9dbb7ed8b..c327aedf3ffdb7fe9d165baf8d3b4a8379042bcc 100644
 3--- a/src/Hy3Layout.cpp
 4+++ b/src/Hy3Layout.cpp
 5@@ -425,7 +425,7 @@ void Hy3Layout::recalcGeometry(bool no_animation) {
 6 
 7 	hy3_log(LOG, "recalculating workspace {}", workspace->m_id);
 8 
 9-	auto ma = workspace->m_monitor->logicalBox();
10+	auto ma = workspace->m_monitor->logicalBoxMinusReserved();
11 	auto wa = space->workArea();
12 
13 	if (this->root) {