]> source.dussan.org Git - tigervnc.git/commitdiff
Brown paper bag time... Forgot to actually store the new screen layout.
authorPierre Ossman <ossman@cendio.se>
Thu, 2 Apr 2009 14:26:45 +0000 (14:26 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 2 Apr 2009 14:26:45 +0000 (14:26 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3738 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/VNCServerST.cxx

index ec01074eab3e7695e2b23b4de6598f0b23136230..a21526ad7b19bff2a6b1f4cbe9401fcf46c9760e 100644 (file)
@@ -325,6 +325,8 @@ void VNCServerST::setScreenLayout(const ScreenSet& layout)
   if (!layout.validate(pb->width(), pb->height()))
     throw Exception("setScreenLayout: invalid screen layout");
 
+  screenLayout = layout;
+
   std::list<VNCSConnectionST*>::iterator ci, ci_next;
   for (ci=clients.begin();ci!=clients.end();ci=ci_next) {
     ci_next = ci; ci_next++;