mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-09 15:17:29 +02:00
use types.Cursor.
This commit is contained in:
parent
1025eedc22
commit
28c22a254b
4 changed files with 10 additions and 12 deletions
|
@ -52,7 +52,10 @@ func (manager *WebRTCManagerCtx) handle(data []byte, session types.Session) erro
|
|||
|
||||
// handle inactive cursor movement
|
||||
if session.Profile().CanHost {
|
||||
session.SetCursor(x, y)
|
||||
session.SetCursor(types.Cursor{
|
||||
X: x,
|
||||
Y: y,
|
||||
})
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue