diff src/main/java/com/glavsoft/rfb/encoding/decoder/ZRLEESender.java @ 204:d9d234715853

TreeManager for each interface
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 27 Jun 2014 21:37:20 +0900
parents 6aa1c0f4ab2e
children b31903e5b02d
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/encoding/decoder/ZRLEESender.java	Fri Jun 27 19:40:46 2014 +0900
+++ b/src/main/java/com/glavsoft/rfb/encoding/decoder/ZRLEESender.java	Fri Jun 27 21:37:20 2014 +0900
@@ -27,7 +27,7 @@
         reader.reset();
 		if (rfb.hasViewer()) {
 			ZRLEDecoder decoder = new ZRLEDecoder();
-			if (rfb.isRoot()) {
+			if (rfb.isTreeManager()) {
                 rfb.readSendData(dataLen, reader, bytes);
 				decoder.decode1(renderer, rect, bytes, 0);
 				return;