diff --git a/internal/types/message/messages.go b/internal/types/message/messages.go index bff58a34..f6f00254 100644 --- a/internal/types/message/messages.go +++ b/internal/types/message/messages.go @@ -20,6 +20,7 @@ type SystemInit struct { ScreenSize ScreenSize `json:"screen_size"` Sessions map[string]SessionData `json:"sessions"` ImplicitHosting bool `json:"implicit_hosting"` + InactiveCursors bool `json:"inactive_cursors"` ScreencastEnabled bool `json:"screencast_enabled"` WebRTC SystemWebRTC `json:"webrtc"` } diff --git a/internal/websocket/handler/system.go b/internal/websocket/handler/system.go index 399453e2..59411779 100644 --- a/internal/websocket/handler/system.go +++ b/internal/websocket/handler/system.go @@ -45,6 +45,7 @@ func (h *MessageHandlerCtx) systemInit(session types.Session) error { ScreenSize: message.ScreenSize(*size), Sessions: sessions, ImplicitHosting: h.sessions.ImplicitHosting(), + InactiveCursors: h.sessions.InactiveCursors(), ScreencastEnabled: h.capture.Screencast().Enabled(), WebRTC: message.SystemWebRTC{ Videos: h.capture.VideoIDs(),