subsurface: Rewrite the subsurface tree (#4877)

This commit is contained in:
Vaxry 2024-02-29 00:03:28 +00:00 committed by GitHub
parent 1e7eb3a5a5
commit b1c0f1cc01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 312 additions and 414 deletions

View file

@ -471,6 +471,8 @@ void CWindow::onUnmap() {
PMONITOR->solitaryClient = nullptr;
g_pCompositor->updateWorkspaceWindows(m_iWorkspaceID);
m_pSubsurfaceHead.reset();
}
void CWindow::onMap() {
@ -516,6 +518,8 @@ void CWindow::onMap() {
m_bTearingHint = ctrl->pWlrHint->current;
break;
}
m_pSubsurfaceHead = std::make_unique<CSubsurface>(this);
}
void CWindow::onBorderAngleAnimEnd(void* ptr) {