Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 265:57d71d8f1616
filtering the width of display size in 1920.
author | oc |
---|---|
date | Mon, 08 Dec 2014 22:42:25 +0900 |
parents | 83d0256a8808 |
children | 17eb729d64be |
files | src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Mon Dec 08 20:07:32 2014 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Mon Dec 08 22:42:25 2014 +0900 @@ -259,7 +259,8 @@ if (decoder != null) { decoder.decode(reader, renderer, rect); // TreeVNC processing here if(!(rfb.getCuiVersion())) - repaintController.repaintBitmap(rect); + if(rect.x < 1920) + repaintController.repaintBitmap(rect); } else if (rect.getEncodingType() == EncodingType.RICH_CURSOR) { RichCursorDecoder.getInstance().decode(reader, renderer, rect); if(repaintController!=null)