]> source.dussan.org Git - tigervnc.git/commitdiff
Reenable display even on failure.
authorPierre Ossman <ossman@cendio.se>
Mon, 23 Mar 2009 16:30:32 +0000 (16:30 +0000)
committerPierre Ossman <ossman@cendio.se>
Mon, 23 Mar 2009 16:30:32 +0000 (16:30 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3710 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/xvnc.cc

index ed09b80202d9b959269b5bf298ab8f0528ea7143..5231b156f6b5411a55d24974376408f9bc7cf2bf 100644 (file)
@@ -1022,6 +1022,8 @@ static Bool vncRandRSetConfig (ScreenPtr pScreen, Rotation rotation,
         pScreen->mmWidth = oldmmWidth;
         pScreen->mmHeight = oldmmHeight;
 
+        xf86SetRootClip(pScreen, TRUE);
+
         return FALSE;
     }
 
@@ -1037,6 +1039,8 @@ static Bool vncRandRSetConfig (ScreenPtr pScreen, Rotation rotation,
         pScreen->mmWidth = oldmmWidth;
         pScreen->mmHeight = oldmmHeight;
 
+        xf86SetRootClip(pScreen, TRUE);
+
         return FALSE;
     }