mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Explicitly set canvas cursor to show up on remote desktop.
This commit is contained in:
parent
86b5e4a85d
commit
ea0068685b
9 changed files with 8 additions and 6 deletions
|
@ -60,7 +60,7 @@ var CreateAmtRedirect = function (module, authCookie) {
|
|||
}
|
||||
|
||||
obj.xxOnMessage = function (e) {
|
||||
if (obj.debugmode == 1) { console.log('Recv', e.data); }
|
||||
//if (obj.debugmode == 1) { console.log('Recv', e.data); }
|
||||
obj.inDataCount++;
|
||||
if (typeof e.data == 'object') {
|
||||
var f = new FileReader();
|
||||
|
@ -88,6 +88,7 @@ var CreateAmtRedirect = function (module, authCookie) {
|
|||
};
|
||||
|
||||
obj.xxOnSocketData = function (data) {
|
||||
//if (obj.debugmode == 1) { console.log('Recv', data.length, rstr2hex(data)); }
|
||||
if (!data || obj.connectstate == -1) return;
|
||||
|
||||
if (typeof data === 'object') {
|
||||
|
@ -249,7 +250,7 @@ var CreateAmtRedirect = function (module, authCookie) {
|
|||
obj.xxSend = function (x) {
|
||||
//obj.Debug("Redir Send(" + x.length + "): " + rstr2hex(x));
|
||||
if (obj.socket != null && obj.socket.readyState == WebSocket.OPEN) {
|
||||
if (obj.debugmode == 1) { console.log('Send', x); }
|
||||
//if (obj.debugmode == 1) { console.log('Send', x.length, rstr2hex(x)); }
|
||||
var b = new Uint8Array(x.length);
|
||||
for (var i = 0; i < x.length; ++i) { b[i] = x.charCodeAt(i); }
|
||||
obj.socket.send(b.buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue