summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-23 16:30:32 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-23 16:30:32 +0000
commitc4661e7eecaf889f4975218a7c1c1b308e898cb8 (patch)
tree6a235e466c811e21aead30af39cdd123d9e4f416 /unix
parentd108fb872ef6617deeceb6747719704ead437538 (diff)
downloadtigervnc-c4661e7eecaf889f4975218a7c1c1b308e898cb8.tar.gz
tigervnc-c4661e7eecaf889f4975218a7c1c1b308e898cb8.zip
Reenable display even on failure.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3710 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r--unix/xserver/hw/vnc/xvnc.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc
index ed09b802..5231b156 100644
--- a/unix/xserver/hw/vnc/xvnc.cc
+++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -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;
}