decoration/groupbar: fix crash when group returns no match (#15947)

ref #13853
This commit is contained in:
Vaxry
2026-08-22 15:18:38 +02:00
committed by GitHub
parent 5ccc5d4401
commit 9c7b45e628
@@ -488,6 +488,9 @@ bool CHyprGroupBarDecoration::onMouseButtonOnDeco(const Vector2D& pos, const IPo
PHLWINDOW pWindow = m_window->grouping().group()->fromIndex(WINDOWINDEX);
if (!pWindow)
return true;
if (pWindow != m_window)
pWindow->grouping().group()->setCurrent(pWindow);