]> source.dussan.org Git - tigervnc.git/commitdiff
removed unnecessary hint for window sizing.
authorBrian Hinz <bphinz@users.sourceforge.net>
Thu, 13 Oct 2011 00:04:38 +0000 (00:04 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Thu, 13 Oct 2011 00:04:38 +0000 (00:04 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4728 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/com/tigervnc/vncviewer/CConn.java

index a485f33913a5081571b9998d95779cf5da32e3e8..73c05628b047361ff7e1fdc0237411a5d38d4a86 100644 (file)
@@ -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;