Wrap adding to fading out
needed to avoid memory safety issues, because sometimes there would be duplicates.
This commit is contained in:
parent
cde39e0b6e
commit
c998e946aa
4 changed files with 27 additions and 5 deletions
|
|
@ -368,7 +368,7 @@ void Events::listener_unmapWindow(void* owner, void* data) {
|
|||
|
||||
PWINDOW->m_bFadingOut = true;
|
||||
|
||||
g_pCompositor->m_vWindowsFadingOut.emplace_back(PWINDOW);
|
||||
g_pCompositor->addToFadingOutSafe(PWINDOW);
|
||||
|
||||
g_pHyprRenderer->damageMonitor(g_pCompositor->getMonitorFromID(PWINDOW->m_iMonitorID));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue