diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2006-09-05 15:22:35 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2006-09-05 15:22:35 +0000 |
commit | cb5a9a275e56d14e0c4f545338881bf5e3b382aa (patch) | |
tree | 157ce8ff0c56b9c07f72b4ac137848b9742e3108 /win | |
parent | ffc14a60cfd1ad93dc54fab586ee20ca14b548b9 (diff) | |
download | tigervnc-cb5a9a275e56d14e0c4f545338881bf5e3b382aa.tar.gz tigervnc-cb5a9a275e56d14e0c4f545338881bf5e3b382aa.zip |
Before any manipulations with DesktopWindow (setSize and
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
Diffstat (limited to 'win')
-rw-r--r-- | win/vncviewer/CConn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/CConn.cxx b/win/vncviewer/CConn.cxx index 2fb8d2d3..bf19bd85 100644 --- a/win/vncviewer/CConn.cxx +++ b/win/vncviewer/CConn.cxx @@ -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(); |