]> source.dussan.org Git - tigervnc.git/commitdiff
Fixed the bug with the zero-sized vncviewer window when
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sun, 10 Sep 2006 11:45:19 +0000 (11:45 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sun, 10 Sep 2006 11:45:19 +0000 (11:45 +0000)
vncviewer run in the fullscreen mode and then changed to the
window mode.

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

win/vncviewer/CConn.cxx

index b9ea5ad77622f86cb4eac82dfecfae5145523da6..708fd66bb2c4d48eab0c9ec1a86ac4adc02b7c66 100644 (file)
@@ -634,9 +634,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();