From 7708353da38b983000bba9992c6dac69ee80aaee Mon Sep 17 00:00:00 2001 From: Brian Hinz Date: Thu, 13 Oct 2011 00:04:38 +0000 Subject: [PATCH] removed unnecessary hint for window sizing. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4728 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/com/tigervnc/vncviewer/CConn.java | 3 --- 1 file changed, 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; -- 2.39.5