Does not display correct output at all. Fix attached. Apparently this was an oversight when the Java code was ported from C++. The fix does exactly the same thing as the C++ code does.
*** java/com/tigervnc/rfb/RREDecoder.java       2013-09-16 20:37:32.000000000 
-0500
--- /Volumes/Fezzik/Users/drc/src/vnc/java/com/turbovnc/rfb/RREDecoder.java     
2013-09-16 17:28:20.000000000 -0500
***************
*** 39,43 ****
        int w = is.readU16();
        int h = is.readU16();
!       handler.fillRect(new Rect(x, y, w, h), pix);
      }
    }
--- 39,44 ----
        int w = is.readU16();
        int h = is.readU16();
!       handler.fillRect(new Rect(r.tl.x + x, r.tl.y + y,
!                                 r.tl.x + x + w, r.tl.y + y + h), pix);
      }
    }
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to