mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-28 05:58:49 +02:00
screen size retype one struct.
This commit is contained in:
parent
31eb743a5d
commit
51577ecff4
3 changed files with 12 additions and 37 deletions
|
@ -40,13 +40,9 @@ func (h *MessageHandlerCtx) systemInit(session types.Session) error {
|
|||
session.Send(
|
||||
event.SYSTEM_INIT,
|
||||
message.SystemInit{
|
||||
SessionId: session.ID(),
|
||||
ControlHost: controlHost,
|
||||
ScreenSize: message.ScreenSize{
|
||||
Width: size.Width,
|
||||
Height: size.Height,
|
||||
Rate: size.Rate,
|
||||
},
|
||||
SessionId: session.ID(),
|
||||
ControlHost: controlHost,
|
||||
ScreenSize: message.ScreenSize(*size),
|
||||
Sessions: sessions,
|
||||
ImplicitHosting: h.sessions.ImplicitHosting(),
|
||||
ScreencastEnabled: h.capture.Screencast().Enabled(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue