xdg-shell: fixup unassigned wl surfaces to xdg surfaces

fixes #7133
This commit is contained in:
Vaxry 2024-08-01 15:43:13 +02:00
parent c8873b958d
commit ab0a3268e0

View file

@ -667,6 +667,7 @@ CXDGWMBase::CXDGWMBase(SP<CXdgWmBase> resource_) : resource(resource_) {
} }
RESOURCE->self = RESOURCE; RESOURCE->self = RESOURCE;
RESOURCE->surface = SURF;
SURF->role = RESOURCE; SURF->role = RESOURCE;
surfaces.emplace_back(RESOURCE); surfaces.emplace_back(RESOURCE);