src/core/contexts/abstractwindowcontext.cpp
@@ -115,6 +115,10 @@ return false; } if (!titleBarRect.contains(pos)) { return false; } for (int i = CoreWindowAgent::WindowIcon; i <= CoreWindowAgent::Close; ++i) { auto currentButton = m_systemButtons[i]; if (currentButton && m_delegate->isVisible(currentButton) && @@ -134,7 +138,6 @@ if (!m_hitTestVisibleRects.isEmpty() && hitTestShape().contains(pos)) { return false; } return true; }