From b9cf8f974dc126f7760fea9657e407e753ffe7d7 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 3 Dec 2020 10:04:06 +0300 Subject: separate state for hid offline --- web/share/js/kvm/hid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/share/js/kvm/hid.js') diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js index 75e77d7d..580a5417 100644 --- a/web/share/js/kvm/hid.js +++ b/web/share/js/kvm/hid.js @@ -153,8 +153,8 @@ export function Hid() { wm.switchEnabled($("hid-mouse-squash-checkbox"), (has_relative_squash && !state.busy)); if (state) { - __keyboard.setState(state.keyboard); - __mouse.setState(state.mouse); + __keyboard.setState(state.keyboard, state.online, state.busy); + __mouse.setState(state.mouse, state.online, state.busy); } }; -- cgit v1.2.3