introduced ImplicitHosting.

This commit is contained in:
Miroslav Šedivý 2020-12-02 11:24:27 +01:00
parent 8bfe0c4f67
commit 2a6a65144c
3 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@
:isControling="controlling"
:scrollSensitivity="state.control.scroll.sensitivity"
:scrollInvert="state.control.scroll.inverse"
:implicitControl="true"
:implicitControl="state.control.implicit_hosting"
@implicit-control-request="websocket.send('control/request')"
@implicit-control-release="websocket.send('control/release')"
/>
@ -98,6 +98,7 @@
},
clipboard: null,
host_id: null,
implicit_hosting: false,
},
screen: {
size: {

View File

@ -13,6 +13,7 @@ export interface SystemInit {
control_host: ControlHost
screen_size: ScreenSize
members: Record<string, MemberData>
implicit_hosting: boolean
}
export interface SystemAdmin {

View File

@ -37,6 +37,7 @@ export interface Control {
scroll: Scroll
clipboard: Clipboard | null
host_id: string | null
implicit_hosting: boolean
}
export interface Scroll {