cursor Image on connect.

This commit is contained in:
Miroslav Šedivý 2021-01-10 12:41:51 +01:00
parent 818e07fc8b
commit ff89677435
2 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,9 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
this[EVENT.SCREEN_UPDATED](conf.screen_size)
this[EVENT.CONTROL_HOST](conf.control_host)
if (conf.cursor_image) {
this[EVENT.CURSOR_IMAGE](conf.cursor_image)
}
}
protected [EVENT.SYSTEM_ADMIN]({ screen_sizes_list, broadcast_status }: message.SystemAdmin) {

View File

@ -14,6 +14,7 @@ export interface SystemInit {
screen_size: ScreenSize
members: Record<string, MemberData>
implicit_hosting: boolean
cursor_image: CursorImage | null
}
export interface SystemAdmin {