Mercurial > hg > Applications > TreeVNC
changeset 272:d3a921d16121
fix firstTime.
author | oc |
---|---|
date | Mon, 15 Dec 2014 13:48:19 +0900 |
parents | 13a809ce1212 |
children | 5bab82abcc4f |
files | src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Thu Dec 11 18:15:02 2014 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Mon Dec 15 13:48:19 2014 +0900 @@ -218,7 +218,7 @@ if(numberOfRectangles != 1) System.out.println("numberofrectangle : " + numberOfRectangles); - if(rfb.isTreeManager() && firstTime) { + if(rfb.isTreeManager() && firstTime) { if(rfb.checkDelay) { SendCheckDelay sendCheckDelay = new SendCheckDelay(rfb); Thread sendCheckDelayThread = new Thread(sendCheckDelay, "send-check-delay"); @@ -237,7 +237,8 @@ } }, 0, 100); } - } + this.firstTime = false; + } while (numberOfRectangles-- > 0) { FramebufferUpdateRectangle rect = new FramebufferUpdateRectangle();