mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 15:41:58 -07:00
window: unassign surface on unmap
This commit is contained in:
@@ -336,6 +336,8 @@ void CWindow::onUnmap() {
|
||||
m_vRealSize.setCallbackOnBegin(nullptr);
|
||||
|
||||
std::erase_if(g_pCompositor->m_vWindowFocusHistory, [&](const auto& other) { return other == this; });
|
||||
|
||||
m_pWLSurface.unassign();
|
||||
}
|
||||
|
||||
void CWindow::onMap() {
|
||||
|
Reference in New Issue
Block a user