Skip to content

Commit

Permalink
chase hyprland-git
Browse files Browse the repository at this point in the history
  • Loading branch information
zakk4223 committed Dec 29, 2023
1 parent 2831a14 commit 2cf61ec
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions riverLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,8 @@ void CRiverLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection direction)

const auto MOUSECOORDS = g_pInputManager->getMouseCoordsInternal();
if (g_pInputManager->m_bWasDraggingWindow && OPENINGON) {
for (auto& wd : OPENINGON->pWindow->m_dWindowDecorations) {
if (!(wd->getDecorationFlags() & DECORATION_ALLOWS_MOUSE_INPUT))
continue;
if (g_pDecorationPositioner->getWindowDecorationBox(wd.get()).containsPoint(MOUSECOORDS)) {
if(!wd->onEndWindowDragOnDeco(pWindow, MOUSECOORDS))
return;
break;
}
}
if (OPENINGON->pWindow->checkInputOnDecos(INPUT_TYPE_DRAG_END, MOUSECOORDS, pWindow))
return;
}

if (OPENINGON && OPENINGON != PNODE && OPENINGON->pWindow->m_sGroupData.pNextWindow // target is group
Expand Down

0 comments on commit 2cf61ec

Please sign in to comment.