diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2011-11-27 20:43:47 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2011-11-27 20:43:47 +0000 |
commit | 13dbd6bb3df3f5b1f8d90f6e1b9c9b474611e9b2 (patch) | |
tree | 5f3af5f60c3fa8b00a36a1447712673d62ac101f /java/com/tigervnc/vncviewer/DesktopWindow.java | |
parent | f5e59aff466e7e647dde7c25c3dc995d4483d7d7 (diff) | |
download | tigervnc-13dbd6bb3df3f5b1f8d90f6e1b9c9b474611e9b2.tar.gz tigervnc-13dbd6bb3df3f5b1f8d90f6e1b9c9b474611e9b2.zip |
Sync up java Tight decoder with recent changes to C client as much as possible. These changes should also fix the 16bpp issue reported in bug #3429667. I think there are probably errors in the FilterGradient* code but I can't get any servers to actually send this type of data to test it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4819 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/vncviewer/DesktopWindow.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/DesktopWindow.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/tigervnc/vncviewer/DesktopWindow.java b/java/com/tigervnc/vncviewer/DesktopWindow.java index c0071dad..087b58fd 100644 --- a/java/com/tigervnc/vncviewer/DesktopWindow.java +++ b/java/com/tigervnc/vncviewer/DesktopWindow.java @@ -179,6 +179,10 @@ class DesktopWindow extends JPanel implements return; } + public PixelFormat getPreferredPF() { + return im.getNativePF(); + } + // setColourMapEntries() changes some of the entries in the colourmap. // Unfortunately these messages are often sent one at a time, so we delay the // settings taking effect unless the whole colourmap has changed. This is |