diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-03-15 14:39:07 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-03-15 16:04:06 -0700 |
commit | 9763b9dcef144f649ccbcfd302601769bc940ffb (patch) | |
tree | cb3e7a29a3d21883a18a8b2512440b986412e3e6 | |
parent | 9d65abab153cdf3ab2b7e3e2843d573b22ea6769 (diff) |
Hide the cursor in CloseScreen.
Otherwise, if we're restoring a graphical framebuffer mode the cursor will still
be visible.
-rw-r--r-- | src/nv_driver.c | 2 |
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) { |