summaryrefslogtreecommitdiff
path: root/display.js
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2013-04-19 11:36:41 -0500
committerJeremy White <jwhite@codeweavers.com>2013-04-19 11:36:41 -0500
commitbcffac0aa49f60d60e4dcbf1a66fc2b9f8a0548b (patch)
tree11b0d0b21504deb5b8e3db31e5ce3dc99259f71b /display.js
parent12fe9ebb9640d22f37579a6e79542a94c48b3b3c (diff)
Provide two levels of workaround for IE 10 cursor support.
The first approach is to use a moving image to simulate the cursor. This does not work well, so a second approach, involving static cursors is provided. That requires a site administrator to precreate all the cursors that can be used by a particular application set. A warning message strongly suggests using a different browser as well.
Diffstat (limited to 'display.js')
-rw-r--r--display.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/display.js b/display.js
index 9f1e3dd..f9bfe76 100644
--- a/display.js
+++ b/display.js
@@ -721,6 +721,8 @@ function handle_mouseover(e)
function handle_mouseout(e)
{
+ if (this.sc && this.sc.cursor && this.sc.cursor.spice_simulated_cursor)
+ this.sc.cursor.spice_simulated_cursor.style.display = 'none';
this.blur();
}