-
When 252e64a0 moved the texture ownership to MetaWaylandSurface, it failed to handle the case when a NULL-buffer is attached, leaving the texture reference in place. This caused issues when the surface should have been hidden (e.g. attaching a NULL buffer to a cursor surface for hiding the cursor sprite). Related: #630
5eac1d69