Mercurial > hg > Applications > TreeVNC
comparison src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java @ 268:4a0c97cfb774
fix --filterSingleDisplay option
author | oc |
---|---|
date | Tue, 09 Dec 2014 11:05:09 +0900 |
parents | 5f697251860b |
children | 05f59c18cdca |
comparison
equal
deleted
inserted
replaced
267:5f697251860b | 268:4a0c97cfb774 |
---|---|
252 if (decoder != null) { | 252 if (decoder != null) { |
253 decoder.decode(reader, renderer, rect); // TreeVNC processing here | 253 decoder.decode(reader, renderer, rect); // TreeVNC processing here |
254 if(!(rfb.getCuiVersion())) { | 254 if(!(rfb.getCuiVersion())) { |
255 if (rfb.filterSingleDisplay) { | 255 if (rfb.filterSingleDisplay) { |
256 if (rect.x < 1920) | 256 if (rect.x < 1920) |
257 repaintController.repaintBitmap(rect); | 257 return; |
258 } | 258 } |
259 repaintController.repaintBitmap(rect); | |
259 } | 260 } |
260 } else if (rect.getEncodingType() == EncodingType.RICH_CURSOR) { | 261 } else if (rect.getEncodingType() == EncodingType.RICH_CURSOR) { |
261 RichCursorDecoder.getInstance().decode(reader, renderer, rect); | 262 RichCursorDecoder.getInstance().decode(reader, renderer, rect); |
262 if(repaintController!=null) | 263 if(repaintController!=null) |
263 repaintController.repaintCursor(); | 264 repaintController.repaintCursor(); |