diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2017-02-26 20:55:40 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2017-02-27 20:16:24 -0500 |
commit | 6fd7e019e9989befdcc53335970707772b8ff3ff (patch) | |
tree | 4e0548d582b38dfa8c27cc846c725295ef6199cb /java/com/tigervnc/rfb/CConnection.java | |
parent | 7cb4f31f6290df318962226bb35f60d0e2fd975c (diff) | |
download | tigervnc-6fd7e019e9989befdcc53335970707772b8ff3ff.tar.gz tigervnc-6fd7e019e9989befdcc53335970707772b8ff3ff.zip |
Java client support for cursors with full alpha
Diffstat (limited to 'java/com/tigervnc/rfb/CConnection.java')
-rw-r--r-- | java/com/tigervnc/rfb/CConnection.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/com/tigervnc/rfb/CConnection.java b/java/com/tigervnc/rfb/CConnection.java index 0b38aeaf..aefc2760 100644 --- a/java/com/tigervnc/rfb/CConnection.java +++ b/java/com/tigervnc/rfb/CConnection.java @@ -336,6 +336,13 @@ abstract public class CConnection extends CMsgHandler { super.setExtendedDesktopSize(reason, result, w, h, layout); } + public void readAndDecodeRect(Rect r, int encoding, + ModifiablePixelBuffer pb) + { + decoder.decodeRect(r, encoding, pb); + decoder.flush(); + } + // getIdVerifier() returns the identity verifier associated with the connection. // Ownership of the IdentityVerifier is retained by the CConnection instance. //public IdentityVerifier getIdentityVerifier() { return 0; } |