webrtc SetCursorPosition.

This commit is contained in:
Miroslav Šedivý 2022-07-21 18:28:51 +02:00
parent 81531d74c1
commit f4a4e0152e
3 changed files with 7 additions and 0 deletions

View file

@ -64,7 +64,9 @@ func (h *MessageHandlerCtx) controlMove(session types.Session, payload *message.
return err
}
// handle active cursor movement
h.desktop.Move(payload.X, payload.Y)
h.webrtc.SetCursorPosition(payload.X, payload.Y)
return nil
}