summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2011-10-13 00:04:38 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2011-10-13 00:04:38 +0000
commit7708353da38b983000bba9992c6dac69ee80aaee (patch)
tree09ccb6d4bbfdc7a750b712da5617cee7c9dacbaa
parent11278c50dc78f3cd3701ace2614d2a74f315dd47 (diff)
downloadtigervnc-7708353da38b983000bba9992c6dac69ee80aaee.tar.gz
tigervnc-7708353da38b983000bba9992c6dac69ee80aaee.zip
removed unnecessary hint for window sizing.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4728 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--java/com/tigervnc/vncviewer/CConn.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java
index a485f339..73c05628 100644
--- a/java/com/tigervnc/vncviewer/CConn.java
+++ b/java/com/tigervnc/vncviewer/CConn.java
@@ -516,9 +516,6 @@ public class CConn extends CConnection
pack = false;
}
- if (pack)
- viewport.setPreferredSize(new Dimension(w,h));
-
if (viewport.getExtendedState() == JFrame.MAXIMIZED_BOTH) {
w = viewport.getSize().width;
h = viewport.getSize().height;