parent
38132ffaf5
commit
18ee9ece9c
3 changed files with 22 additions and 2 deletions
|
|
@ -1361,6 +1361,10 @@ void CCompositor::addToFadingOutSafe(PHLLS pLS) {
|
|||
m_vSurfacesFadingOut.emplace_back(pLS);
|
||||
}
|
||||
|
||||
void CCompositor::removeFromFadingOutSafe(PHLLS ls) {
|
||||
std::erase(m_vSurfacesFadingOut, ls);
|
||||
}
|
||||
|
||||
void CCompositor::addToFadingOutSafe(PHLWINDOW pWindow) {
|
||||
const auto FOUND = std::find_if(m_vWindowsFadingOut.begin(), m_vWindowsFadingOut.end(), [&](PHLWINDOWREF& other) { return other.lock() == pWindow; });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue