summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2007-03-20 05:59:44 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2007-03-20 05:59:44 +0000
commit486740f17ae8611091c86f054a62333e6e5a4876 (patch)
tree5fec33edbbce2a099ea0aded51733ee7ef4eac61 /win
parentdb5a10f68714f6010f526cf07774da25b9bd2a06 (diff)
downloadtigervnc-486740f17ae8611091c86f054a62333e6e5a4876.tar.gz
tigervnc-486740f17ae8611091c86f054a62333e6e5a4876.zip
Before first use DesktopWindow::setSize() should set the toolbar status because
it using in DesktopWindow::setSize(). It allow correct resize vncviwer desktop window at run. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2240 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r--win/vncviewer/CConn.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/vncviewer/CConn.cxx b/win/vncviewer/CConn.cxx
index 2341f76b..4a9b341a 100644
--- a/win/vncviewer/CConn.cxx
+++ b/win/vncviewer/CConn.cxx
@@ -660,6 +660,7 @@ void CConn::serverInit() {
// Show the window
window = new DesktopWindow(this);
window->setName(cp.name());
+ window->setShowToolbar(options.showToolbar);
window->setSize(cp.width, cp.height);
applyOptions(options);