From 17eea9574dfafa4a90666ec8761c6bab2aa7601b Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 14 Feb 2019 16:57:26 +0100 Subject: [PATCH] Consume data properly in Hextile decoder We accidentally removed the code updating the data index in 8a189a6, resulting in the decoder newer consuming any data. So the data would be parsed as the next rect, causing weird errors. --- core/decoders/hextile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/decoders/hextile.js b/core/decoders/hextile.js index 07c86dbc..aa76d2f3 100644 --- a/core/decoders/hextile.js +++ b/core/decoders/hextile.js @@ -129,6 +129,7 @@ export default class HextileDecoder { } display.finishTile(); } + sock.rQi = rQi; this._lastsubencoding = subencoding; this._tiles--; }