add sessions cursors.

This commit is contained in:
Miroslav Šedivý
2021-10-24 01:09:41 +02:00
parent 318b833b30
commit 0b5e064cab
7 changed files with 97 additions and 29 deletions

View File

@ -52,7 +52,7 @@ func (manager *WebRTCManagerCtx) handle(data []byte, session types.Session) erro
// handle inactive cursor movement
if session.Profile().CanHost {
session.SetPosition(x, y)
session.SetCursor(x, y)
}
return nil