mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 22:05:58 +01:00
fix: use-after-free of CWindow* in CHyprGroupBarDecoration::draw (#3146)
This commit is contained in:
parent
204a580544
commit
69ce11a063
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ void IHyprLayout::onWindowRemoved(CWindow* pWindow) {
|
||||||
pWindow->setHidden(false);
|
pWindow->setHidden(false);
|
||||||
|
|
||||||
pWindow->updateWindowDecos();
|
pWindow->updateWindowDecos();
|
||||||
|
curr->getGroupCurrent()->updateWindowDecos();
|
||||||
g_pCompositor->updateWindowAnimatedDecorationValues(pWindow);
|
g_pCompositor->updateWindowAnimatedDecorationValues(pWindow);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue