surface: clear buffer instead of role on null attach
1 files changed, 1 insertions(+), 1 deletions(-) M wl_surface.go
M wl_surface.go => wl_surface.go +1 -1
@@ 178,7 178,7 @@ func (r *WlSurfaceImpl) Request(packet *WaylandPacket) error { obj.Next.BufferY = y if bid == 0 { - obj.Next.Role = nil + obj.Next.Buffer = nil return nil }