subsurfaceTree: update surface tree protocol feedback on map

This commit is contained in:
vaxerski
2024-01-09 18:14:08 +01:00
parent 252aaaecfa
commit 71166ef40b
6 changed files with 15 additions and 10 deletions

View File

@@ -178,6 +178,9 @@ void Events::listener_mapSubsurface(void* owner, void* data) {
Debug::log(LOG, "Subsurface {:x} mapped", (uintptr_t)subsurface->pSubsurface);
subsurface->pChild = createSubsurfaceNode(subsurface->pParent, subsurface, subsurface->pSubsurface->surface, subsurface->pWindowOwner);
if (subsurface->pWindowOwner)
subsurface->pWindowOwner->updateSurfaceScaleTransformDetails();
}
void Events::listener_unmapSubsurface(void* owner, void* data) {