From e33e3fe207b0994bbf1b4c1a75fa0771e921b8e1 Mon Sep 17 00:00:00 2001 From: Nicolas Avrutin Date: Tue, 13 Jun 2023 16:48:21 -0400 Subject: [PATCH] surface: clear buffer instead of role on null attach --- wl_surface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wl_surface.go b/wl_surface.go index 0deb9a2..b08987d 100644 --- a/wl_surface.go +++ b/wl_surface.go @@ -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 } -- 2.45.2