diff --git a/src/windowManager.cpp b/src/windowManager.cpp index 85eb542..a3db23a 100644 --- a/src/windowManager.cpp +++ b/src/windowManager.cpp @@ -204,7 +204,7 @@ bool isNeighbor(CWindow* a, CWindow* b) { const auto POSA = a->getPosition(); const auto POSB = b->getPosition(); const auto SIZEA = a->getSize(); - const auto SIZEB = a->getSize(); + const auto SIZEB = b->getSize(); if (POSA.x != 0) { if (STICKS(POSA.x, (POSB.x + SIZEB.x))) {