~kennylevinsen/wlhax

e33e3fe207b0994bbf1b4c1a75fa0771e921b8e1 — Nicolas Avrutin 5 months ago 6ba773a
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
		}