Mercurial > hg > Applications > TreeVNC
changeset 283:d18c3f901be7
fix setting singleWidth for -d option
author | oc |
---|---|
date | Sun, 11 Jan 2015 05:12:05 +0900 |
parents | 6b232caa07fb |
children | 3d7ecf31037b |
files | src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Sun Jan 11 04:14:21 2015 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Sun Jan 11 05:12:05 2015 +0900 @@ -176,6 +176,7 @@ String newHostName = new String(byteAddress, "UTF-8"); int frameSizeWidth = buf.getInt(); int frameSizeHeight = buf.getInt(); + singleWidth = frameSizeWidth; System.out.println("Root server change request :" + newHostName); // please remove these numbers. if (viewer != null) { @@ -726,6 +727,7 @@ this.frameSizeWidth = width; this.frameSizeHeight = height; + singleWidth = frameSizeWidth; // stop reader stop stopReceiverTask();