Running window.

This commit is contained in:
James Grogan 2022-11-10 11:47:07 +00:00
parent 25b1966c0e
commit 63a93ec1a8

View file

@ -105,6 +105,13 @@ void WaylandWindowInterface::addWindow(mt::Window* window)
void WaylandWindowInterface::mapWindow(mt::Window* window) void WaylandWindowInterface::mapWindow(mt::Window* window)
{ {
if (mSurfaces.empty())
{
return;
}
mSurfaces[0]->initialize(mCompositor, mXdgBase, mBuffer);
} }
void WaylandWindowInterface::disconnect() void WaylandWindowInterface::disconnect()