Set FBU.bytes to 1 in encHandlers.COPYRECT
FBU.bytes must be set before return false to indicate that the FBU header has been read. If not set then "if (FBU.bytes == 0) { ..}" in framebufferUpdate will be entered and the copyrect header will be interpreted as a new FBU leading to a "unsupported encoding" disconnect error.
This commit is contained in:
parent
7c1cd93744
commit
9f554fcdf7
|
@ -1126,6 +1126,7 @@ encHandlers.COPYRECT = function display_copy_rect() {
|
||||||
|
|
||||||
var old_x, old_y;
|
var old_x, old_y;
|
||||||
|
|
||||||
|
FBU.bytes = 1;
|
||||||
if (ws.rQwait("COPYRECT", 4)) { return false; }
|
if (ws.rQwait("COPYRECT", 4)) { return false; }
|
||||||
display.renderQ_push({
|
display.renderQ_push({
|
||||||
'type': 'copy',
|
'type': 'copy',
|
||||||
|
|
Loading…
Reference in New Issue