Function XdgSurface.destroy

destroy the xdg_surface

void destroy();

Destroy the xdg_surface object. An xdg_surface must only be destroyed after its role object has been destroyed.