format code.
This commit is contained in:
parent
0581ce385c
commit
8f2639412d
2 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ func GetCursorPosition() (int, int) {
|
|||
var x C.int
|
||||
var y C.int
|
||||
C.XCursorPosition(&x, &y)
|
||||
|
||||
|
||||
return int(x), int(y)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -323,7 +323,7 @@ func (manager *WebRTCManagerCtx) CreatePeer(session types.Session, videoID strin
|
|||
// send initial cursor image
|
||||
cur := manager.desktop.GetCursorImage()
|
||||
cursorChange(cur)
|
||||
|
||||
|
||||
// send initial cursor position
|
||||
x, y := manager.desktop.GetCursorPosition()
|
||||
cursorPosition(x, y)
|
||||
|
|
|
|||
Loading…
Reference in a new issue