summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/mouse.js
diff options
context:
space:
mode:
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();
}