From ddde1e22e1a125042bf0a49f7c3ae50b21b173cd Mon Sep 17 00:00:00 2001 From: Brian Hinz Date: Sat, 9 Feb 2013 02:19:05 +0000 Subject: Fix a regression introduced in r5034 that causes window to be resized unnecesarily. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5039 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/com/tigervnc/vncviewer/CConn.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/com') diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java index fd07b27d..cccb7ba4 100644 --- a/java/com/tigervnc/vncviewer/CConn.java +++ b/java/com/tigervnc/vncviewer/CConn.java @@ -1002,7 +1002,7 @@ public class CConn extends CConnection } else { scaleString=scaleString.substring(0, scaleString.length()-1); } - if (oldScaleFactor != scaleString) { + if (!oldScaleFactor.equals(scaleString)) { viewer.scalingFactor.setParam(scaleString); if ((options.fullScreen.isSelected() == fullScreen) && (desktop != null)) -- cgit v1.2.3