You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KasmVNC/kasmweb/core/util
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>
4 years ago
..
browser.js Update copyright to 2019 for modified files 4 years ago
cursor.js Fix disappearing cursor after click 4 years ago
events.js Fix disappearing cursor after click 4 years ago
eventtarget.js Update copyright to 2019 for modified files 4 years ago
logging.js Update copyright to 2019 for modified files 4 years ago
polyfill.js Initial commit 5 years ago
strings.js Initial commit 5 years ago