diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2007-03-20 05:59:44 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2007-03-20 05:59:44 +0000 |
commit | 486740f17ae8611091c86f054a62333e6e5a4876 (patch) | |
tree | 5fec33edbbce2a099ea0aded51733ee7ef4eac61 /win | |
parent | db5a10f68714f6010f526cf07774da25b9bd2a06 (diff) | |
download | tigervnc-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.cxx | 1 |
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); |