summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/mouse.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-11-12 23:40:39 +0300
committerDevaev Maxim <[email protected]>2020-11-12 23:40:39 +0300
commit65c6abee249bfb7e2d50e4f734d93f422118cb61 (patch)
treef2e40c6cc5a546ba0250220fafcc55235a707e49 /web/share/js/kvm/mouse.js
parent180251ec591245ca2025341214e255e3952184d7 (diff)
hid plugins fix
Diffstat (limited to 'web/share/js/kvm/mouse.js')
-rw-r--r--web/share/js/kvm/mouse.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/web/share/js/kvm/mouse.js b/web/share/js/kvm/mouse.js
index 4f021e5c..bcfc7bf0 100644
--- a/web/share/js/kvm/mouse.js
+++ b/web/share/js/kvm/mouse.js
@@ -79,9 +79,6 @@ export function Mouse(record_callback) {
self.setState = function(state) {
__online = state.online;
- if (!("absolute" in state)) { // FIXME: SPI
- state.absolute = true;
- }
if (!__absolute && state.absolute && __isRelativeCaptured()) {
document.exitPointerLock();
}