diff src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java @ 270:2d934eee4f4b

small fix
author oc
date Tue, 09 Dec 2014 12:48:21 +0900
parents 05f59c18cdca
children 0f9b3de45fb2
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java	Tue Dec 09 11:08:32 2014 +0900
+++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java	Tue Dec 09 12:48:21 2014 +0900
@@ -623,9 +623,13 @@
                     bufs.addFirst(blen);
                     bufs.addFirst(header);
                     addSerialNumber(bufs);
-                    if (filterSingleDisplay && rect.x < 1920)
-                        return;
-                    multicastqueue.put(bufs);
+                    if (filterSingleDisplay) {
+                        if (rect.x < 1920) {
+                            multicastqueue.put(bufs);
+                        }
+                    } else {
+                        multicastqueue.put(bufs);
+                    }
                 } catch (DataFormatException e) {
                     throw new TransportException(e);
                 } catch (IOException e) {