]> git.proxmox.com Git - mirror_novnc.git/commit
Only grab key events on canvas
authorPierre Ossman <ossman@cendio.se>
Wed, 5 Oct 2016 08:21:17 +0000 (10:21 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 18 Oct 2017 13:07:17 +0000 (15:07 +0200)
commit2afda54456fc45b1d343cc4b7e8edada9b71b088
tree96428fa3e0e27754410377629b732f8ea088a292
parent69411b9ea3df595c08f6fbd8466b2c645028ab81
Only grab key events on canvas

Give the canvas proper focus handling. This avoids messy logic that
needs to disable and enable event handling when we want to interact
with other UI elements.

It also makes sure we can properly inhibit the browser from triggering
local actions on key presses.
app/styles/base.css
app/ui.js
core/input/keyboard.js
core/input/mouse.js
core/rfb.js
vnc.html