mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 02:24:14 -05:00
decoration/groupbar: fix crash when group returns no match (#15947)
ref #13853
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user