mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
cursor Image on connect.
This commit is contained in:
parent
818e07fc8b
commit
ff89677435
@ -56,6 +56,9 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
|
|||||||
|
|
||||||
this[EVENT.SCREEN_UPDATED](conf.screen_size)
|
this[EVENT.SCREEN_UPDATED](conf.screen_size)
|
||||||
this[EVENT.CONTROL_HOST](conf.control_host)
|
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) {
|
protected [EVENT.SYSTEM_ADMIN]({ screen_sizes_list, broadcast_status }: message.SystemAdmin) {
|
||||||
|
@ -14,6 +14,7 @@ export interface SystemInit {
|
|||||||
screen_size: ScreenSize
|
screen_size: ScreenSize
|
||||||
members: Record<string, MemberData>
|
members: Record<string, MemberData>
|
||||||
implicit_hosting: boolean
|
implicit_hosting: boolean
|
||||||
|
cursor_image: CursorImage | null
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SystemAdmin {
|
export interface SystemAdmin {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user