mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
spice-html5 updated.
This commit is contained in:
parent
12c80c5021
commit
b05a252d7c
36 changed files with 1356 additions and 1415 deletions
6
static/js/spice-html5/simulatecursor.js
Normal file → Executable file
6
static/js/spice-html5/simulatecursor.js
Normal file → Executable file
|
|
@ -71,7 +71,7 @@ simulate_cursor: function (spicecursor, cursor, screen, pngstr)
|
|||
|
||||
if (window.getComputedStyle(screen, null).cursor == 'auto')
|
||||
{
|
||||
SpiceSimulateCursor.unknown_cursor(cursor_sha,
|
||||
SpiceSimulateCursor.unknown_cursor(cursor_sha,
|
||||
SpiceSimulateCursor.create_icondir(cursor.header.width, cursor.header.height,
|
||||
cursor.data.byteLength, cursor.header.hot_spot_x, cursor.header.hot_spot_y) + pngstr);
|
||||
|
||||
|
|
@ -99,7 +99,7 @@ simulate_cursor: function (spicecursor, cursor, screen, pngstr)
|
|||
spicecursor.spice_simulated_cursor.style.pointerEvents = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
if (spicecursor.spice_simulated_cursor)
|
||||
{
|
||||
spicecursor.spice_simulated_cursor.spice_screen.removeChild(spicecursor.spice_simulated_cursor);
|
||||
|
|
@ -162,7 +162,7 @@ create_icondir: function (width, height, bytes, hot_x, hot_y)
|
|||
|
||||
};
|
||||
|
||||
SpiceSimulateCursor.ICONDIR.prototype =
|
||||
SpiceSimulateCursor.ICONDIR.prototype =
|
||||
{
|
||||
to_buffer: function(a, at)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue