mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUAC-676: Conversion to Guacamole.Display wasn't finished - "transfer" and others still directly used layer.
This commit is contained in:
@@ -934,7 +934,7 @@ Guacamole.Client = function(tunnel) {
|
|||||||
var x = parseInt(parameters[1]);
|
var x = parseInt(parameters[1]);
|
||||||
var y = parseInt(parameters[2]);
|
var y = parseInt(parameters[2]);
|
||||||
|
|
||||||
layer.moveTo(x, y);
|
display.moveTo(layer, x, y);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -974,28 +974,13 @@ Guacamole.Client = function(tunnel) {
|
|||||||
|
|
||||||
/* SRC */
|
/* SRC */
|
||||||
if (function_index === 0x3)
|
if (function_index === 0x3)
|
||||||
dstL.put(
|
display.put(srcL, srcX, srcY, srcWidth, srcHeight,
|
||||||
srcL,
|
dstL, dstX, dstY);
|
||||||
srcX,
|
|
||||||
srcY,
|
|
||||||
srcWidth,
|
|
||||||
srcHeight,
|
|
||||||
dstX,
|
|
||||||
dstY
|
|
||||||
);
|
|
||||||
|
|
||||||
/* Anything else that isn't a NO-OP */
|
/* Anything else that isn't a NO-OP */
|
||||||
else if (function_index !== 0x5)
|
else if (function_index !== 0x5)
|
||||||
dstL.transfer(
|
display.transfer(srcL, srcX, srcY, srcWidth, srcHeight,
|
||||||
srcL,
|
dstL, dstX, dstY, Guacamole.Client.DefaultTransferFunction[function_index]);
|
||||||
srcX,
|
|
||||||
srcY,
|
|
||||||
srcWidth,
|
|
||||||
srcHeight,
|
|
||||||
dstX,
|
|
||||||
dstY,
|
|
||||||
Guacamole.Client.DefaultTransferFunction[function_index]
|
|
||||||
);
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1009,7 +994,7 @@ Guacamole.Client = function(tunnel) {
|
|||||||
var e = parseFloat(parameters[5]);
|
var e = parseFloat(parameters[5]);
|
||||||
var f = parseFloat(parameters[6]);
|
var f = parseFloat(parameters[6]);
|
||||||
|
|
||||||
layer.transform(a, b, c, d, e, f);
|
display.transform(layer, a, b, c, d, e, f);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user