fix: use-after-free of CWindow* in CHyprGroupBarDecoration::draw (#3146)

This commit is contained in:
memchr 2023-09-02 17:58:01 +00:00 committed by GitHub
parent 204a580544
commit 69ce11a063
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;