KasmVNC/kasmweb/core
Samuel Mannehed fb14c2dec9 Fix disappearing cursor after click
In the cursor emulation when deciding if the cursor should be hidden -
Instead of checking what's under the cursor, we check the element that
has capture.

This introduced another bug in the cursor emulation. The cursor did not
always disappear properly when using our cursor emulation together with
our setCapture polyfill. More specifically, we saw a problem when a
capture ended on an element without cursor emulation.

We solved this by introducing another visibility check on a timer in
the cursor emulation. However this led to yet another problem where
this timer conflicted with the timer in the setCapture polyfill.

We removed the timeout in the setCapture polyfill and created a
variable to make sure that all the events remaining in the queue can be
completed.

Co-authored-by: Alex Tanskanen <aleta@cendio.se>
Co-authored-by: Niko Lehto <nikle@cendio.se>
2021-03-29 11:55:28 +03:00
..
decoders Update copyright to 2019 for modified files 2021-03-29 11:54:44 +03:00
input Update copyright to 2019 for modified files 2021-03-29 11:54:44 +03:00
util Fix disappearing cursor after click 2021-03-29 11:55:28 +03:00
base64.js Use default argument for base64 2021-03-29 11:35:16 +03:00
des.js Convert DES into a class 2021-03-29 11:35:23 +03:00
display.js Update copyright to 2019 for modified files 2021-03-29 11:54:44 +03:00
encodings.js Update copyright to 2019 for modified files 2021-03-29 11:54:44 +03:00
inflator.js Initial commit 2020-09-20 12:16:44 +00:00
rfb.js Update copyright to 2019 for modified files 2021-03-29 11:54:44 +03:00
websock.js Update copyright to 2019 for modified files 2021-03-29 11:54:44 +03:00