From dfa65e45d4f8291718f13e28fd1a40b4fea522b9 Mon Sep 17 00:00:00 2001 From: Isaiah Becker-Mayer Date: Wed, 27 Oct 2021 11:41:34 -0400 Subject: [PATCH] flips struct ordering to match with tdp spec --- lib/srv/desktop/tdp/proto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/srv/desktop/tdp/proto.go b/lib/srv/desktop/tdp/proto.go index 9e7a515cc58bb..e012fbf8d680f 100644 --- a/lib/srv/desktop/tdp/proto.go +++ b/lib/srv/desktop/tdp/proto.go @@ -327,8 +327,8 @@ const ( // MouseWheel is the mouse wheel scroll message. // https://github.com/gravitational/teleport/blob/master/rfd/0037-desktop-access-protocol.md#8---mouse-wheel type MouseWheel struct { - Delta int16 Axis MouseWheelAxis + Delta int16 } func (w MouseWheel) Encode() ([]byte, error) {