summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-03-15 14:39:07 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-03-15 16:04:06 -0700
commit9763b9dcef144f649ccbcfd302601769bc940ffb (patch)
treecb3e7a29a3d21883a18a8b2512440b986412e3e6 /src
parent9d65abab153cdf3ab2b7e3e2843d573b22ea6769 (diff)
Hide the cursor in CloseScreen.
Otherwise, if we're restoring a graphical framebuffer mode the cursor will still be visible.
Diffstat (limited to 'src')
-rw-r--r--src/nv_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 64d45c5..97bc8ff 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -1791,6 +1791,8 @@ NVRestore(ScrnInfoPtr pScrn)
NVPtr pNv = NVPTR(pScrn);
NVRegPtr nvReg = &pNv->SavedReg;
+ if(pNv->HWCursor)
+ NVShowHideCursor(pNv, 0);
NVLockUnlock(pNv, 0);
if(pNv->twoHeads) {