diff --git a/src/subsurfacemonitor.cpp b/src/subsurfacemonitor.cpp index e67976bc8e..e45c684b38 100644 --- a/src/subsurfacemonitor.cpp +++ b/src/subsurfacemonitor.cpp @@ -66,6 +66,11 @@ void SubSurfaceMonitor::registerSurface(SurfaceInterface *surface) this, &SubSurfaceMonitor::registerSubSurface); connect(surface, &SurfaceInterface::childSubSurfaceRemoved, this, &SubSurfaceMonitor::unregisterSubSurface); + + const QList childSubSurfaces = surface->childSubSurfaces(); + for (SubSurfaceInterface *childSubSurface : childSubSurfaces) { + registerSubSurface(childSubSurface); + } } void SubSurfaceMonitor::unregisterSurface(SurfaceInterface *surface)