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

@ -666,8 +666,9 @@ CXDGWMBase::CXDGWMBase(SP<CXdgWmBase> resource_) : resource(resource_) {
return;
}
RESOURCE->self = RESOURCE;
SURF->role = RESOURCE;
RESOURCE->self = RESOURCE;
RESOURCE->surface = SURF;
SURF->role = RESOURCE;
surfaces.emplace_back(RESOURCE);