]> source.dussan.org Git - tigervnc.git/commitdiff
Before any manipulations with DesktopWindow (setSize and
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Tue, 5 Sep 2006 15:22:35 +0000 (15:22 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Tue, 5 Sep 2006 15:22:35 +0000 (15:22 +0000)
etc) we must perform the applyOptions method at least one
time, because the methods of these manipulations can
depend on the vncviewer options.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@646 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/CConn.cxx

index 2fb8d2d3825e7260b6861621e15e9057b276dae6..bf19bd8569ed1e24d78450ad8fe95f5c2384d1c9 100644 (file)
@@ -616,9 +616,9 @@ void CConn::serverInit() {
 
   // 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();