Fixed the bug with the main window resizing (don't take
the toolbar height into calculation of the main window
size).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@636 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/CConn.cxx b/win/vncviewer/CConn.cxx
index bfac476..9f597ed 100644
--- a/win/vncviewer/CConn.cxx
+++ b/win/vncviewer/CConn.cxx
@@ -611,9 +611,9 @@
 
   // Show the window
   window = new DesktopWindow(this);
+  applyOptions(options);
   window->setName(cp.name());
   window->setSize(cp.width, cp.height);
-  applyOptions(options);
 
   // Save the server's current format
   serverDefaultPF = cp.pf();