]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] win vncviewer: preserve security settings during reconnection
authorAdam Tkac <atkac@redhat.com>
Tue, 1 Feb 2011 14:33:41 +0000 (14:33 +0000)
committerAdam Tkac <atkac@redhat.com>
Tue, 1 Feb 2011 14:33:41 +0000 (14:33 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4243 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/CConn.cxx
win/vncviewer/CConnOptions.cxx

index 6a6561d78e5addbf081f3d97144edb955bdbedb8..b34b56eba316ce6e4071a9c7b913fe334bfd1b47 100644 (file)
@@ -172,6 +172,8 @@ CConn::applyOptions(CConnOptions& opt) {
     if (!options.useLocalCursor)
       window->setCursor(0, 0, Point(), 0, 0);
   }
+
+  security->SetSecTypes(options.secTypes);
 }
 
 
index f4085b4d84c7892ec0ec5c4d323f5c00ab8bab19..3152db9e3ebd18836950d31e69b403dd04fa7308 100644 (file)
@@ -501,6 +501,7 @@ CConnOptions& CConnOptions::operator=(const CConnOptions& o) {
   qualityLevel = o.qualityLevel;
   autoScaling = o.autoScaling;
   scale = o.scale;
+  secTypes = o.secTypes;
 
   return *this;
 }