mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
format code.
This commit is contained in:
parent
0581ce385c
commit
8f2639412d
@ -75,7 +75,7 @@ func GetCursorPosition() (int, int) {
|
|||||||
var x C.int
|
var x C.int
|
||||||
var y C.int
|
var y C.int
|
||||||
C.XCursorPosition(&x, &y)
|
C.XCursorPosition(&x, &y)
|
||||||
|
|
||||||
return int(x), int(y)
|
return int(x), int(y)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -323,7 +323,7 @@ func (manager *WebRTCManagerCtx) CreatePeer(session types.Session, videoID strin
|
|||||||
// send initial cursor image
|
// send initial cursor image
|
||||||
cur := manager.desktop.GetCursorImage()
|
cur := manager.desktop.GetCursorImage()
|
||||||
cursorChange(cur)
|
cursorChange(cur)
|
||||||
|
|
||||||
// send initial cursor position
|
// send initial cursor position
|
||||||
x, y := manager.desktop.GetCursorPosition()
|
x, y := manager.desktop.GetCursorPosition()
|
||||||
cursorPosition(x, y)
|
cursorPosition(x, y)
|
||||||
|
Loading…
Reference in New Issue
Block a user